2017-03-14 7.0.5-3 Cristy <quetzlzacatenango@image...>
* Support namespaces for the security policy.
+ * Support the -authenticate option for PDF (reference
+ Counting objects: 7, done.g/discourse-server/viewtopic.php?f=3&t=31530).
2017-03-11 7.0.5-2 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.5-2, GIT revision 19696:da91a7c:20170311.
https://github.com/ImageMagick/ImageMagick/issues/393).
* Return proper minima / maxima (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31377).
- * Support the -authenticate option for PDF (reference
- Counting objects: 7, done.g/discourse-server/viewtopic.php?f=3&t=31530).
2017-03-03 7.0.5-1 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.5-1, GIT revision 19662:b7f455a:20170303.
MagickPathExtent);
if (trimbox != MagickFalse)
(void) ConcatenateMagickString(options,"-dUseTrimBox ",MagickPathExtent);
+ option=GetImageOption(image_info,"authenticate");
+ if (option != (char *) NULL)
+ {
+ char
+ passphrase[MagickPathExtent];
+
+ (void) FormatLocaleString(passphrase,MagickPathExtent,
+ "'-sPDFPassword=%s' ",option);
+ (void) ConcatenateMagickString(options,passphrase,MagickPathExtent);
+ }
read_info=CloneImageInfo(image_info);
*read_info->magick='\0';
if (read_info->number_scenes != 0)