Hi, I'm programing an application for the management (leveling and cut away the background) of digitalized images taken from the pages of old books. The last step of the processment is the creation of a PDF document with all the processed images (one image per page) to create the corresponding e-book (see the pics below). Well, I've tried to create the PDF document with the QPrinter class and "painting" the images on it using the QPainter class. The problem is that, doing it in this way, it doesn't include the original images and the resulting PDF doc is even larger than the group of imagesI would like to know if somebody knows a software (freeware if it's possible) that could comunicate with Qt and could create PDF docs from images, like I've already descripted. Thanks a lot.


I would like to know if somebody knows a software (freeware if it's possible) that could comunicate with Qt and could create PDF docs from images, like I've already descripted. Thanks a lot.
Reply With Quote

) and Qt seems to fix the compression level in the file "qprintengine_pdf.cpp" line 519 with a value of 95. Reading a bit the method "addImage" seems a bit "dirty" because, for example, if we create a QImage from a JPEG image, then, internally, the image is compressed again to jpeg
So, why they don't create a method to include the original image, as I've said before? I hope that in the future would be possible... I also hope that this helps somebody else with this problem

Bookmarks