creating thumbnail image from a pdf with imagemagick

convert -thumbnail x640 -density 300 -background white -quality 85 -colorspace RGB -alpha remove -depth 8 path_to.pdf[0] thumbnail.jpg

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s