Page 1 of 1

PDF as a thumbnail.

Posted: 2007-02-07T11:58:01-07:00
by ridera
I'm trying to get the first page of a pdf to show as a 120x120 thumbnail. However, the image is so washed out, it's useless.

Here is one of several commands I've tried.
/usr/local/bin/convert -size 240x240 /home/xxxx/public_html/test/images/dan1.jpg[0] -label %f -thumbnail 120x120 -frame 6x6 /home/xxxxx/public_html/test/images/tmp_thumb.gif

I tried including -contrast and using the montage tool. Montage doesn't handle -contrast.

Anyone have a suggestion?

Re: PDF as a thumbnail.

Posted: 2007-02-07T21:33:11-07:00
by anthony
This is a know problem and one with no good solution.
I have a marker for such solutions though
http://www.imagemagick.org/Usage/resize/#thin_lines

May I suggest you try using -normalize afetr resizing the image down in
stages. If that seems to work, let us know the exact commands you use and I'll add it to the above section. (an example image may also be useful).

Another untested idea may be to use include some blur and multiplys (-evaluate) to the images before the resizes to try to thicken up the lines in the image. Again let us know how it goes and what you find.