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?
Asked
Active
Viewed 1,024 times
2 Answers
1
You could probably use one of the general-purpose PDF libraries:
- Ghostscript - C, available under the GPL
- Poppler - C++, available under the GPL
- Adobe PDF Library SDK - expensive
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.

Josh Kelley
- 56,064
- 19
- 146
- 246
0
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.

Alex Brasetvik
- 11,218
- 2
- 35
- 36