Search code examples
c++pdfjpegimage-conversion

Converting a pdf to jpg images using in Qt


the heading says it all actually:

i want to convert a pdf file into several jpg images. This is to be a part of a software coded in c++ (I'm using Qt for my interface if that matters... :)

Preferably i want the images output to be 72 dpi.

Is there a easy way to do this?

Please comment if you need any more information form me, I'm grateful for any help, tips or answer!


Solution

  • Take pdf2image utility, and run it from you program, collecting its output files.

    If you really need single executable (why?) — take a look at its source, and rip everything from it.