Hi guys, I'm using ImageMagick to convert PDFs into PNGs. Some of the PDFs have a transparent background. I want the PNGs to have a white background (and remove the transparency).
This is the command we have now to disable the alpha channel:
Code: Select all
convert -alpha off -quality 95 -density 150x150 PDF_SOURCE -resize 1275x1650 IMG_DESTINATION
This removes the transparency, which is perfect, but also disables anti-aliasing for fonts (which we want to keep).
Is there a way we can have both, a white background for PDFs with transparency, and anti-aliasing enabled for fonts?