Blurry PDF thumbnail

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
doherty
Posts: 2
Joined: 2011-10-22T10:23:25-07:00
Authentication code: 8675308

Blurry PDF thumbnail

Post by doherty »

When I create a thumbnail of this PDF, I get the PNG attached, which is utterly inadequate. The command line used was:

Code: Select all

convert in.pdf -thumbnail 1000x1000 out.png
Bah, I don't think I can attach files D:

Well, the PDF in question was https://minus.com/mike-cards#6 - and you can see the thumbnail that got generated for it. Compare by downloading the actual PDF file.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Blurry PDF thumbnail

Post by fmw42 »

try

convert -density 150 in.pdf -thumbnail 1000x1000 out.png

or if that does not work adequately increase the density.
doherty
Posts: 2
Joined: 2011-10-22T10:23:25-07:00
Authentication code: 8675308

Re: Blurry PDF thumbnail

Post by doherty »

Thank you for the suggestion. I assumed it'd choose the right density for the thumbnail size.

I had to increase the density way up to get a decent thumbnail. But, that'll do! Thanks again.
tedanoell
Posts: 2
Joined: 2011-10-21T13:28:51-07:00
Authentication code: 8675308

Re: Blurry PDF thumbnail

Post by tedanoell »

How to choose the right density for a thumbnail?
Last edited by tedanoell on 2011-11-12T07:47:16-07:00, edited 1 time in total.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Blurry PDF thumbnail

Post by anthony »

Depends on the input.

PDF's are vector images, but even so are often designed for much higher viewing resolution (printed page) than the default (screen) point resolution.

Their is no way IM can know what is an acceptable density for a specific PDF or Postscript image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply