If your background color is pure white (or pure some color), then try
convert image.pdf -transparent white image.png If it is not a solid color then try convert image.pdf -fuzz $fuzzthresh% -transparent white image.png Check the docs for -transparent and -fuzz Also see http://www.imagemagick.org/Usage/color/#floodfill http://www.imagemagick.org/Usage/color/
I would like to treat the white background of a PDF page as transparent during the PDF to PNG conversion. Is this possible ?
_______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
