Create thumbnail image (jpg/png) of PDF file using Python

Chris Angelico rosuav at gmail.com
Sat Jun 16 06:43:51 EDT 2012


On Fri, Jun 15, 2012 at 9:15 AM, Dennis Lee Bieber
<wlfraed at ix.netcom.com> wrote:
>        PDF is not an "image" file format; it is a "program" describing how
> to render each page. Some of the page contents can be image bitmap data,
> but a "proper" PDF has text AS text.

Plus, JPG is very poor at handling text. It's designed for photos and
photo-like images.

I would recommend using PNG for the bitmapped side.

ChrisA



More information about the Python-list mailing list