Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

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
Shion
Posts: 13
Joined: 2013-11-26T04:18:21-07:00
Authentication code: 6789

Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by Shion »

Hello ImageMagick users!

I am currently trying to convert a PSD, which was saved with compatibility options off in photoshop, to any image format (i.e. jpg or png or tif or really anything else).
The problem I am facing is, that no matter which commands I use, one of these three pictures are the outcome:

ImageMagick Version is: 6.8.7-Q16.
  • Complete Black image
  • Complete White image
  • A noisy black/white image like a bad connected old television
The PSD is uploaded here: Click me for the PSD
The theoretical outcome should be this:
Image

I have tried many, many command options, some of them listed below:
  • convert testbild.psd -flatten -intent Relative -black-point-compensation -profile "sRGB_v4.icc" -strip -background white -flatten -alpha off test.jpg
  • convert testbild.psd -flatten -intent Relative -black-point-compensation -profile "CMY.icm" -strip -background white -flatten -alpha off test.jpg
  • convert testbild.psd -flatten test.jpg
  • any of the above in various combinations
Additional Notes: If the psd is saved in compatibility mode, everything works as expected. Unfortunately this is not an option for us.

If there is ANY other program which can be executed through the command line and produces the expected result, its highly welcome too!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by fmw42 »

Your file does not open in either my Photoshop CS (incompatible version) nor it GIMP (does not support CMYK PSD). I have one other tool that opens it, but it shows fully white.

Your file is a CMYK PSD as seen by IM. IM says it has two layers, one all black and one all white. Both layers have an alpha channel. One is completely white (opaque) and one is almost all white rectangle.
Shion
Posts: 13
Joined: 2013-11-26T04:18:21-07:00
Authentication code: 6789

Re: Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by Shion »

Althouhgh I find it quite strange that you can't open my file, this would actually explain why ImageMagick can't convert this PSD.

My file is a CMYK PSD, that's correct.
I do not have a problem with opening here with Photoshop 6 from the CS 6 Suite.

The problem is, the file is not from me, but from an external resource, and we have to convert them.
They can't alter their process in making those PSDs, so we are stuck with those "weird" ones.

Can I give you/someone any more information as to help you out more?

Thanks!
Shion
Posts: 13
Joined: 2013-11-26T04:18:21-07:00
Authentication code: 6789

Re: Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by Shion »

As this is a bigger problem for us than expected, I can suggest the following:

If it is possible with further development in ImageMagick, could our company support the developers of ImageMagick financially?

We would be willing to pay for either a solution on the current version of ImageMagick, or for further development in a new version (7.0?).
Any information if this is possible or not reasonable at all is highly welcome!

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

Re: Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by magick »

Is it possible to create the image without compression? Does ImageMagick read it now?
Shion
Posts: 13
Joined: 2013-11-26T04:18:21-07:00
Authentication code: 6789

Re: Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by Shion »

Funny enough, it works when I save the exact same PSD again with uncompressed settings.

The uncompressed file can be found here: Click me for the uncompressed PSD.

Is there a possibility to have ImageMagick also convert the compressed files, as we really can't change them? (See also my previous post)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting Non-Compatible-Mode PSDs to JPG/PNG/TIF

Post by magick »

We're working on the problem-- but then again we're working on a hundred other problems as well so we don't have an ETA in this one.
Post Reply