PSDs with alpha channels and masks don't generate thumbnail

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
graemeNPS
Posts: 64
Joined: 2009-01-12T14:25:55-07:00

PSDs with alpha channels and masks don't generate thumbnail

Post by graemeNPS »

files for this posting are zipped in tsod13.zip at:
ftp.northplains.com
publicforum
543publicforum123
see directory ImageMagick

Our customr complains that Imagemagick does not properly convert the psds in this directory to jpgs.
The PSD files in /work are OK.

Versions of our command line are in cmdline.txt.

This command is most similar to our run-time call to IM:

convert -auto-orient -size 7909x2079 C:\sources\ThirdParty\ImageMagick\6.6.3\VisualMagick\bin\xxNewfolder\TDG_Morning_Hero_v5_OZ_tray_flat_AT.psd[0] -alpha Off -resize 1024x1024 -profile C:\sources\ThirdParty\ImageMagick\6.6.3\VisualMagick\bin\xxNewfolder\CMYK.icc -profile C:\sources\ThirdParty\ImageMagick\6.6.3\VisualMagick\bin\xxNewfolder\sRGB.icm +profile "*" C:\sources\ThirdParty\ImageMagick\6.6.3\VisualMagick\bin\xxNewfolder\TDG_Morning_Hero_v5_OZ_tray_flat_AT.psd.jpg


The other commands are attempts to see if we can get the PSDs to render correctly; to no avail.

Any advice on how to get these to render to jpgs would be appreciated.
Is there something the customer can do when saving the PSD to facilitate the rendering to jpgs?

The files in our ftp site are copyright by our customers. Please treat with confidentiality.

graeme
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PSDs with alpha channels and masks don't generate thumbn

Post by magick »

We have the images, go ahead and remove them from your FTP site.

Download the latest release of ImageMagick, 6.7.7-7. It has all the latest patches. If the conversion still fails, let us know and we will investigate further.
graemeNPS
Posts: 64
Joined: 2009-01-12T14:25:55-07:00

Re: PSDs with alpha channels and masks don't generate thumbn

Post by graemeNPS »

C:\Users\Administrator\Desktop\psdtest>convert -version
Version: ImageMagick 6.7.7-6 2012-06-03 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

Tried this version, same results, with and without profiles and alpha off.

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_Troy_Test_1.psd[0] TDG_Morning_Hero_Troy_Test_1.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_Troy_Test_2.psd[0] TDG_Morning_Hero_Troy_Test_2.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_Troy_Test_3.psd[0] TDG_Morning_Hero_Troy_Test_3.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_Troy_Test_4.psd[0] TDG_Morning_Hero_Troy_Test_4.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_Troy_Test_5.psd[0] TDG_Morning_Hero_Troy_Test_5.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_v5_OZ_flat.psd[0] TDG_Morning_Hero_v5_OZ_flat.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_v5_OZ_flatscld2.psd TDG_Morning_Hero_v5_OZ_flatscld2.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_v5_OZ_flat_scld.psd[0] TDG_Morning_Hero_v5_OZ_flat_scld.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_v5_OZ_flat_scld3.psd[0] TDG_Morning_Hero_v5_OZ_flat_scld3.psd.jpg

convert -resize 512x512 -alpha Off -profile C:\Users\Administrator\Desktop\psdtest\CMYK.icc -profile C:\Users\Administrator\Desktop\psdtest\sRGB.icm +profile "*" TDG_Morning_Hero_v5_OZ_tray_flat_AT.psd[0] TDG_Morning_Hero_v5_OZ_tray_flat_AT.psd.jpg


convert -resize 512x512 TDG_Morning_Hero_Troy_Test_2.psd[0] TDG_Morning_Hero_Troy_Test_2.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_Troy_Test_4.psd[0] TDG_Morning_Hero_Troy_Test_4.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_Troy_Test_5.psd[0] TDG_Morning_Hero_Troy_Test_5.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_v5_OZ_flat.psd[0] TDG_Morning_Hero_v5_OZ_flat.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_v5_OZ_flatscld2.psd TDG_Morning_Hero_v5_OZ_flatscld2.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_v5_OZ_flat_scld.psd[0] TDG_Morning_Hero_v5_OZ_flat_scld.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_v5_OZ_flat_scld3.psd[0] TDG_Morning_Hero_v5_OZ_flat_scld3.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_v5_OZ_tray_flat_AT.psd[0] TDG_Morning_Hero_v5_OZ_tray_flat_AT.psd.jpg
convert -resize 512x512 TDG_Morning_Hero_Troy_Test_3.psd[0] TDG_Morning_Hero_Troy_Test_3.psd.jpg
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PSDs with alpha channels and masks don't generate thumbn

Post by magick »

Ok, next up is we need reference images. Are they included in the image distribution you provided? If not, we'll need proper JPEG conversions of one or more of your images so we can compare what ImageMagick produces to what it should produce. Once we have those, we'll start debugging.
Post Reply