Transparent Photoshop PDF to PNG

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
dpizzle
Posts: 4
Joined: 2018-10-19T10:29:51-07:00
Authentication code: 1152

Transparent Photoshop PDF to PNG

Post by dpizzle » 2018-10-19T10:50:08-07:00

I'm failing to convert a transparent PDF saved from Photoshop as Photoshop PDF (settings don't matter, all conversions fail to produce proper image). I've been successful converting transparent PDFs created with other software such as Illustrator. I've tried all the settings I think possible, -alpha -background gs -sDEVICE=pngalpha, etc. I think I've resigned to fact there's something about Photoshop PDFs that make this impossible, but would love to hear any suggestions.

Input pdf: https://www.dropbox.com/s/7kr7debvkhssd ... t.pdf?dl=0
Expected output: https://www.dropbox.com/s/4plfecx7y5ih4 ... t.png?dl=0

User avatar
fmw42
Posts: 25529
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Transparent Photoshop PDF to PNG

Post by fmw42 » 2018-10-19T11:14:49-07:00

What is your IM version and platform?

I can confirm that it fails for me on IM 6.9.10.12 Q16 Mac OSX with GS 9.24 in the same manner as you.

convert Input.pdf Input.png

I tried adding -strip and also tried adding an sRGB.icc profile, but neither helped.


Please report it to the Bugs forum (with your IM version and platform and your exact command line)

dpizzle
Posts: 4
Joined: 2018-10-19T10:29:51-07:00
Authentication code: 1152

Re: Transparent Photoshop PDF to PNG

Post by dpizzle » 2018-10-19T14:09:36-07:00


User avatar
fmw42
Posts: 25529
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Transparent Photoshop PDF to PNG

Post by fmw42 » 2018-10-26T22:53:20-07:00

This was reported before. If you turn off "Preserve Photoshop Editing Capabilities" in the PDF Save dialog box, then it seems to work fine when I convert to PNG using Ghostscript 9.24.

Post Reply