Hi -
I'm trying to create a user option whereby the OCR'ing of a incoming PDF can be skipped if the PDF
does not contain any BITMAPs.
In other words, and incoming PDF that is all text would be skipped.
Is there a way, using any part of the Tracker library, to determine if the incoming PDF contains
a bitmap?
Determine if incoming PDF has bitmap within?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 269
- Joined: Tue Jul 07, 2015 3:30 pm
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Determine if incoming PDF has bitmap within?
The only way I can see is to analyze content of every page (or less precise method - just to analyze resources used by page's content and descendant XForm and annotations) of incoming document.
New Core API SDK (or Editor SDK) can be used for that.
New Core API SDK (or Editor SDK) can be used for that.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.