PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

Moderators: TrackerSupp-Daniel, Tracker Support, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Paul - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

 
whoit
User
Topic Author
Posts: 150
Joined: Tue Jul 07, 2015 3:30 pm

Determine if incoming PDF has bitmap within?

Mon Sep 14, 2015 5:02 pm

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?
 
Ivan - Tracker Software
Site Admin
Posts: 3488
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Determine if incoming PDF has bitmap within?

Tue Sep 15, 2015 10:31 pm

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.
Tracker Software (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.

Who is online

Users browsing this forum: No registered users and 1 guest