Page 1 of 1

PSD and PNG

Posted: 2012-12-19T02:39:15-07:00
by mickael.l
In ImageMagick 6.8.0-4

For PSD:
the resolution unit is unset in the psd.c

correction in psd.c:465:

Code: Select all

        image->units = PixelsPerInchResolution;

For PNG:
the image->matte info in unset during the call of the function PingImage()

correction in png.c:2913

Code: Select all

      image->matte=(((int) ping_color_type == PNG_COLOR_TYPE_RGB_ALPHA) ||
          ((int) ping_color_type == PNG_COLOR_TYPE_GRAY_ALPHA) ||
          (png_get_valid(ping,ping_info,PNG_INFO_tRNS))) ?
          MagickTrue : MagickFalse;

Re: PSD and PNG

Posted: 2012-12-19T07:39:53-07:00
by magick
We applied the PSD patch. Glenn, review the PNG patch and apply.