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.
doherty
Posts: 2 Joined: 2011-10-22T10:23:25-07:00
Authentication code: 8675308
Post
by doherty » 2011-10-22T12:45:56-07:00
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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2011-10-22T13:44:08-07:00
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
Post
by doherty » 2011-10-22T14:41:29-07:00
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
Post
by tedanoell » 2011-11-02T10:31:08-07:00
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.
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Post
by anthony » 2011-11-02T20:56:11-07:00
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.