şel
şel

Reputation: 11

How to generate thumbnail for some pages of a PDF file?

I want a C library for generating image snapshots of PDF files. Then I would use this to generate the thumbnail of the first page. Is there a library for this?

Upvotes: 1

Views: 1232

Answers (2)

Josh Kelley
Josh Kelley

Reputation: 58352

You could probably use one of the general-purpose PDF libraries:

Google reveals quite a few PDF-to-image converters which you may be able to incorporate if one of the above options doesn't work.

Upvotes: 1

Alex Brasetvik
Alex Brasetvik

Reputation: 11744

Check out Poppler --- a PDF rendering library based on the xpdf-3.0 code base. It comes with a tool to create images from PDF pages as well.

Upvotes: 0

Related Questions