2017-05-06 7.0.5-6 Cristy <quetzlzacatenango@image...>
* Restore the -alpha Shape option (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31879).
+ * Fix transient PDF bug (reference
+ https://github.com/ImageMagick/ImageMagick/issues/463).
2017-04-24 7.0.5-5 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.5-5, GIT revision 19915:12eec43:20170424.
(void) WriteBlobString(image,buffer);
(void) FormatLocaleString(buffer,MagickPathExtent,"/Thumb %.20g 0 R\n",
(double) object+8);
+ profile=GetImageProfile(image,"icc");
+ if (profile != (StringInfo *) NULL)
+ (void) FormatLocaleString(buffer,MagickPathExtent,"/Thumb %.20g 0 R\n",
+ (double) object+10);
(void) WriteBlobString(image,buffer);
(void) WriteBlobString(image,">>\n");
(void) WriteBlobString(image,"endobj\n");
{
(void) FormatLocaleString(buffer,MagickPathExtent,"/SMask %.20g 0 R\n",
(double) object+7);
+ profile=GetImageProfile(image,"icc");
+ if (profile != (StringInfo *) NULL)
+ (void) FormatLocaleString(buffer,MagickPathExtent,
+ "/SMask %.20g 0 R\n",(double) object+9);
(void) WriteBlobString(image,buffer);
}
(void) FormatLocaleString(buffer,MagickPathExtent,"/Length %.20g 0 R\n",
(void) FormatLocaleString(buffer,MagickPathExtent,
"[ /Indexed /%s %.20g %.20g 0 R ]\n",device,(double) image->colors-
1,(double) object+3);
-
(void) WriteBlobString(image,buffer);
}
else
(void) WriteBlobString(image,buffer);
(void) FormatLocaleString(buffer,MagickPathExtent,"/ColorSpace %.20g 0 R\n",
(double) object-1);
+ profile=GetImageProfile(image,"icc");
+ if (profile != (StringInfo *) NULL)
+ (void) FormatLocaleString(buffer,MagickPathExtent,
+ "/ColorSpace %.20g 0 R\n",(double) object-3);
(void) WriteBlobString(image,buffer);
(void) FormatLocaleString(buffer,MagickPathExtent,"/BitsPerComponent %d\n",
(compression == FaxCompression) || (compression == Group4Compression) ?