[texhax] Convert pdf to png or other picture format

Bob Tennent rdt at cs.queensu.ca
Mon Oct 21 19:53:53 CEST 2013


 >|Somebody know if it's possible convert the pdf (compiled with command
 >|pdflatex name.tex) to any picture format like png/jpeg without lost
 >|definition.
 >|I tried with the linux command convert name.pdf name.jpg/png, but I
 >|lost much definition.

PDF is usually a vector-graphic format without an inherent resolution.

To get higher resolution than the default (likely 100dpi) use

convert -density nnn name.pdf name.jpg

where nnn is as large as you want. 200 should be good enough for
most purposes.

Bob T.


More information about the texhax mailing list