Unable to get thumbnail from a 32bpc PSD file

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
ashokpanghal
Posts: 4
Joined: 2015-10-01T03:57:27-07:00
Authentication code: 1151

Unable to get thumbnail from a 32bpc PSD file

Post 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 ]
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

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

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply