Imagemagick convert pdf to images with high quality


This is called supersampling technique. You set the density, say 4 times larger than nominal (72 dpi), thus -density 288 before reading the pdf. Then after reading it, you resize down by a factor of 4 or 25%

convert -density 288 image.pdf -resize 25% resultimage.png
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s