convert psd-file with transparency background to jpg thumb

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
toxicbrain

convert psd-file with transparency background to jpg thumb

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

jpg does NOT support transparency. you should use png or gif for output
toxicbrain

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

Post 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.
Post Reply