Is accessing the images still possible? (previously PXCp_ImageGetFromPage & PXCp_GetDocImageAsXCPage)

A forum for questions or concerns related to the PDF-XChange Core API SDK

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
Olivier Mascia
User
Posts: 3
Joined: Thu Jan 01, 1970 12:00 am

Is accessing the images still possible? (previously PXCp_ImageGetFromPage & PXCp_GetDocImageAsXCPage)

Post by Olivier Mascia » Wed Jun 05, 2019 3:58 pm

Much older SDK version had functions PXCp_ImageGetFromPage & PXCp_GetDocImageAsXCPage and that was very easy to browse which images where attached to a page. (Used it to extract the single image generated by most scanners in order to look for some specific QR codes inside).

Is this still possible in current SDK?
(Not the QR detection and decoding - that I do myself - but the browsing and extraction of images (for this purpose)?

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Is accessing the images still possible? (previously PXCp_ImageGetFromPage & PXCp_GetDocImageAsXCPage)

Post by Sasha - Tracker Dev Team » Thu Jun 06, 2019 6:35 am

Hello Oliver Mascia,

You can loop through the page's content and find the image items. Check out the Core API Demo project that has many samples:
https://github.com/tracker-software/PDF ... oreAPIDemo

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply