Page 1 of 1

Unable to get thumbnail from a 32bpc PSD file

Posted: 2017-02-27T03:46:03-07:00
by ashokpanghal
Command Used :

Code: Select all

magick convert chDisabBinaryOn.psd -flatten -thumbnail 1280x1280 test.png
Outcome : convert: improper image header `chDisabBinaryOn.psd' @ error/psd.c/ReadPSDImage/
1964. convert: no images defined `test.png' @ error/convert.c/ConvertImageCommand/3254.

IMageMagick version : Version: ImageMagick 7.0.4-10 Q16 x64 2017-02-18 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pa
ngocairo png ps rsvg tiff webp xml zlib

Platform : :- Win7
PSD File : https://www.dropbox.com/s/2arg7jmp61ff9 ... n.psd?dl=0 [ Size = 1.8 GB ]

Re: Unable to get thumbnail from a 32bpc PSD file

Posted: 2017-02-27T03:52:34-07:00
by Bonzo
The first layer or whatever it is of a psd file should of all the layers so you could try:

Code: Select all

magick convert chDisabBinaryOn.psd[0] -thumbnail 1280x1280 test.png
But if it is a fault in the psd file you could try another or one from a different source to try and isolate the problem.

In my case I only need to use magick and not magick convert. I think magick convert uses the V6 version?

Re: Unable to get thumbnail from a 32bpc PSD file

Posted: 2017-02-27T23:41:32-07:00
by dlemstra
The PSD reader currently only support 1,8 and 16 bpc images. We will need to figure out how to read a 32 bpc image. Thanks for sharing the image so we can have a look at how we could support this.