Quote:
Originally Posted by Mackx
Hi GregorRichards,
Great to see how much effort you spend on improving your application. Did you also have a look at the (old) pdf viewer implementation of iRex which was used in the R1.7 firmware of the DR1000 (also uses poppler)? See the published source code: document-viewer-plugins\plugins\pdf. The file src/pdf_page.cpp, for example, also contains code to calculate the bounding box (PDFPage::get_content_from_bitmap) maybe there is more code you can reuse?
|
Feh, I knew the code would be laying around somewhere, but I couldn't find it ... I'll look in to it.