[magick-users] images in PDFs losing transparency in conversion
Jason LaPier
jason.lapier at gmail.com
Wed Feb 18 16:36:46 UTC 2009
Hi all -
I'm having trouble with some PDFs that have some positioned, transparent
images in them. When I convert these PDFs to jpg or png, the floating images
are no longer transparent. There is only one layer in this PDF - the
floating images are not on separate layers, so the "-layers flatten" option
does me no good.
I tried converting the image with ghostscript and it actually created the
image correctly. I hope that means I'm just missing an option in imagemagick
to convert these right.
Here's the original PDF:
http://examples.offtheline.net/imagemagick-pdfs/test.pdf
The result of imagemagick convert (and rmagick, which is what I am using in
production):
http://examples.offtheline.net/imagemagick-pdfs/imagemagick.jpg
And the result from gs:
http://examples.offtheline.net/imagemagick-pdfs/gs.jpg
I'm using ImageMagick 6.3.7, in Ubuntu 8.10.
Thanks,
- Jason L.
--
My Rails and Linux Blog: http://offtheline.net
More information about the Magick-users
mailing list