Converting PDFs
Sometimes it can be useful to convert PDFs to images. The ImageMagick convert
command makes this really easy, with just one caveat: unlike converting regular images, it’s important to specify the -density
flag. I’ve found a DPI of 300
typically yields good results:
convert \
-density 300 \
input.pdf output.png