PDF to GIF transparency problem

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
Emmett Pate

PDF to GIF transparency problem

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PDF to GIF transparency problem

Post by magick »

Try this command:
  • convert -colorspace rgb 01-HBGCover.pdf -thumbnail 350 -units PixelsPerInch 01-HBGCover.gif
Emmett Pate

Re: PDF to GIF transparency problem

Post 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
Post Reply