Page 1 of 1

The best way to obtain a pdf with transparent background

Posted: 2007-09-06T02:29:47-07:00
by dango
Hello. Which is the best way to obtain a pdf with transparent background starting from a single .png image? I type from command line (the image stands on a white background):

Code: Select all

convert -transparent white image.png image.pdf
Is this the right way to procede? Is there any other thing or option to use?
Thanks for your help.

Re: The best way to obtain a pdf with transparent background

Posted: 2007-09-06T20:00:37-07:00
by anthony
That will only make pure white transparent. It will leave a white halo around everything.

There are a couple of different methods. See IM examples, postscript to image
http://www.imagemagick.org/Usage/text/#postscript
for the basic methods.