Page 1 of 1

convert psd-file with transparency background to jpg thumb

Posted: 2009-10-15T05:41:45-07:00
by toxicbrain
hello,

i use the convert-command to create thumbnails from psd-files. but some psd-files cause problems. the psd-files has one layer and a transparency background. after converting a got a black image with a text in 4 languages:

"this layered photoshop file was not saved with a composite image".

command:
/usr/local/bin/convert -density 96x96 -scale 100x100 -profile /usr/local/lib/EuropeISOCoatedFOGRA27.icc -profile /usr/local/lib/ECI-RGB.V1.0.icc -quality 90 -strip "my_psd_file.psd[0]" "thumbnail.jpg"

i am new in imagemagick, someone any ideas? thanks a lot.

cherrs
txb

Re: convert psd-file with transparency background to jpg thumb

Posted: 2009-10-15T11:17:45-07:00
by fmw42
jpg does NOT support transparency. you should use png or gif for output

Re: convert psd-file with transparency background to jpg thumb

Posted: 2009-10-15T23:03:09-07:00
by toxicbrain
fmw42 wrote:jpg does NOT support transparency. you should use png or gif for output
i know that jpg does not support transparency. i'd already tried to use png for output. but the result is the same. same error message and the same black image.