Thread: PDF to JPEG
View Single Post
Old Mar 3rd, 2008, 4:02 AM   #2
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3 Jimbo is on a distinguished road
Re: PDF to JPEG

I would look if there's a library somewhere to convert PDFs to JPGs. Failing that, I would look for two libraries, one to convert PDF to ImageFormatX, and one to convert ImageFormatX to JPG. Replace ImageFormatX with the file format for which the required libraries exist.

Failing to find a suitable format for the conversion, well, I'd hope it would not require resorting to reading format specs (ugly things, those). Maybe look for a way to get a thumbnail of the PDF through a print-preview like function?

Sorry for the lack of helpfulness. Finding such libraries may be easier with another language as well. Are you stuck with C++ from existing constraints? There may be libraries that allow the multi-step process if you cobble together a solution in a different language (or two).
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote