IMG_PageGetDPI gives error on sample file

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
neilpitman
User
Posts: 39
Joined: Fri Jun 17, 2005 8:38 am

IMG_PageGetDPI gives error on sample file

Post by neilpitman » Thu Feb 16, 2006 8:11 am

The attached PDF file gives the following error on IMG_PageGetDPI(). Many other files have no problem. This is with version v.3.5098

Error code is: 0x82030001
Severity is: Error
Facility is: ImagesCore
Error is: Invalid argument

The image is extracted with :

PXCp_ReadDocumentW(pObject,CA2W(PDF_FileName),0);
..
PXCp_ImageGetFromPage()..
Attachments
reader.zip
(331.73 KiB) Downloaded 150 times

John - Tracker Supp
Site Admin
Posts: 8203
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Thu Feb 16, 2006 9:44 am

Hi Neil,

I can confirm that the specific image extraction itself is our problem and will be corrected in build 3.5099 released next week.

However the IMG_PageGetDPI() problem appears to be because you are not creating a valid Image page prior to attempting to use - so please also check the return result from the extraction function, as in this case it returns an error.

HTH
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

neilpitman
User
Posts: 39
Joined: Fri Jun 17, 2005 8:38 am

Post by neilpitman » Fri Feb 24, 2006 8:32 am

Hi

Will 3.5099 be released this week?

Thanks

John - Tracker Supp
Site Admin
Posts: 8203
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Post by John - Tracker Supp » Fri Feb 24, 2006 12:37 pm

Hi Neil,

No, scheduled for release mid next week.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Post Reply