pngalpha device does not work for multi-page pdfs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Helen

pngalpha device does not work for multi-page pdfs

Post by Helen »

Specific pdf and AI files render better when the sDevice is changed to pngalpha in delegates.xml. The problems is that this will only render the first page of a multi-page pdf file even when you specify the range using the [] notation after the input filename you only get one png file as the output. I am using version 6.5.9.3 of ImageMagick
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: pngalpha device does not work for multi-page pdfs

Post by Drarakel »

This is a known behaviour of Ghostscript. See here:
http://www.imagemagick.org/Usage/formats/#ps_reading
The 'ps:color' delegate is used rather than 'ps:alpha' by default because the 'pngalpha' ghostscript device only supports a one page/one image and PDF's generally are multi-page.
Post Reply