32-bit depth per channel PSD

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
schille
Posts: 13
Joined: 2017-04-26T07:08:27-07:00
Authentication code: 1151

32-bit depth per channel PSD

Post by schille »

Hello,

My ImageMagick version:
Version: ImageMagick 7.0.3-0 Q16 x86 2016-09-05 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 pangocairo png ps rsvg tiff webp xml zlib

I use ImageMagick in the Windows 10 command line.

Example file (created with Photoshop):
https://jumpshare.com/v/jhhtwVNJWd6sjw3wj8aQ

My command:
convert test_32bit.psd test.jpg

When i try to convert this PSD file into a JPG I get the following error:
convert: improper image header `test_32bit.psd` @ errror/psd.c/ReadPSDImage/1848

In "psd.c" it reads:
if ((psd_info.depth != 1) && (psd_info.depth != 8 ) && (psd_info.depth != 16))
ThrowReaderException(CorruptImageError,"ImproperImageHeader");

Is it possible for you to provide support for 32-bit depth / channel PSD files?

Thank you very much
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: 32-bit depth per channel PSD

Post by snibgo »

I'll move this to the "developers" forum, as it is a request for a new feature.
snibgo's IM pages: im.snibgo.com
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: 32-bit depth per channel PSD

Post by dlemstra »

Please create an issue here: https://github.com/ImageMagick/ImageMagick/issues and attach (drag-drop) the sample file (prob needs to be zipped) to the post instead of using a link.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
schille
Posts: 13
Joined: 2017-04-26T07:08:27-07:00
Authentication code: 1151

Re: 32-bit depth per channel PSD

Post by schille »

I created the following issue: https://github.com/ImageMagick/ImageMagick/issues/455
I zipped the PSD file as suggested.

Thank you very much for your quick response
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: 32-bit depth per channel PSD

Post by dlemstra »

The response is quick but I have no idea when we will be able to have a look at your issue :)
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply