Calling PXCp_SaveDocImageIntoFileA() with a current valid document, page number and imageID, using the save to TIFF sample code from the documentation, I get HRESULT 0x82030014 error, which to my understanding and translation is "ImagesCore, Invalid format identifier".
To what formats -- if any? -- am I entitled to, considering that I have the "PDF-XChange PRO SDK", but none of your imaging toolkits?
Here is the options structure as it is initialized (copied from documentation sample):
Code: Select all
PXCp_SaveImageOptions SaveOpts;
ZeroMemory(&SaveOpts, sizeof(PXCp_SaveImageOptions));
SaveOpts.bAppendToExisting = TRUE;
SaveOpts.bConvertToGray = FALSE;
SaveOpts.bDither = 0;
SaveOpts.bWriteAlpha = 0;
SaveOpts.fmtID = PRO_FMT_TIFF_ID;
SaveOpts.imgType = ImType_rgb_24bpp;
SaveOpts.CompressionMethod = ImCompression_None;
Thanks a lot!