PSD conversion error in 6.8.0.4

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
michaelmwu
Posts: 1
Joined: 2012-11-16T01:44:31-07:00
Authentication code: 6789

PSD conversion error in 6.8.0.4

Post by michaelmwu »

Using ImageMagick 6.8.0-4 on Ubuntu Linux x86 12.04, several PSDs are not converted correctly compared to 6.7.8-8

Compiled both using ./configure --disable-static --disable-installed --without-perl --without-magick-plus-plus --enable-shared --with-modules

Files are located here for now:
http://www8.zippyshare.com/v/8082852/file.html

The command I am using is convert FILE[0] PNG_FILE

For the google apps files, the background stays white in 6.8.0.4, while onee of them is actually transparent
Image vs. Image

For pixelapse-avatar.psd, 6.8 generates this:
Image

While 6.7.8-8 generates:
Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PSD conversion error in 6.8.0.4

Post by fmw42 »

Your problems are two fold.

1) IM does not recognize background transparency in PSD images, only alpha channel transparency.

2) For your large dark image, IM changed from using non-linear gray to linear gray at IM 6.8.0.3

This works fine to fix it.

convert pixelapse-avatar.psd[0] -set colorspace RGB pixelapse-avatar.png


see
viewtopic.php?f=4&t=21269
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PSD conversion error in 6.8.0.4

Post by fmw42 »

Perhaps a workaround for the first problem. Try converting to tiff first. This seems to work for me on IM 6.8.0.4 Q16 Mac OSX Snow Leopard

convert google_apps.3.psd Tiff:- | convert -[0] google_apps.3.png
Post Reply