Page 1 of 1

PDF to GIF transparency problem

Posted: 2008-04-16T09:09:29-07:00
by Emmett Pate
Greetings,

I'm converting some PDFs to GIF images with the following command:

Code: Select all

convert +debug -thumbnail 350 -units PixelsPerInch 01-HBGCover.pdf 01-HBGCover.gif
As you see from the following image, some areas which should be transparent are showing up as black

Image

I'm using ImageMagick 6.4.0 and GhostScript 8.62. Both the GIF and PDF files are located at http://www.williamewood.com/imagemagick/ if needed. Any suggestions?

Thanks,
Emmett Pate

Re: PDF to GIF transparency problem

Posted: 2008-04-16T09:18:00-07:00
by magick
Try this command:
  • convert -colorspace rgb 01-HBGCover.pdf -thumbnail 350 -units PixelsPerInch 01-HBGCover.gif

Re: PDF to GIF transparency problem

Posted: 2008-04-16T09:51:04-07:00
by Emmett Pate
magick wrote:Try this command:
  • convert -colorspace rgb 01-HBGCover.pdf -thumbnail 350 -units PixelsPerInch 01-HBGCover.gif
Perfect! Thanks for the quick reply!

Emmett