View Single Post
Old 04-25-2010, 04:27 AM   #13
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by GregorRichards View Post
Just released alpha 4, which adds margin elimination. This is gettin' pretty OK
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?
Mackx is offline   Reply With Quote