Re: How to get page size
1. You will observe that the bbox value is of type ASFixedRect. This contains four ASFixed values. THESE ARE NOT INTEGERS as you are assuming.2. Once you have converted your ASFixed values you will...
View ArticlePDEImageCreate
hiI use PDEImageCreate for make picture from PDEElement. I used this method for create new image //load image PDEImage pdeImage; PDEImage pdi; memset(&pdi, 0, sizeof(PDEImage)); pdi =...
View ArticleRe: PDEImageCreate
The only difference between your two examples (working/not working) is the Interpolate flag; a matter of no importance. Therefore there is another difference you are not considering or not reporting....
View ArticleRe: How to get page size
Just to elaborate – ASFixedToFloat() is your friend :). Also, as noted, while MediaBox is the physical page size it is not necessarily the visible size – which would be via the CropBox.
View ArticleRe: PDEImageCreate
I mean don't workIs my method right? where is the problem thanks for your attention
View ArticleRe: PDEImageCreate
I cannot help if you will not explain "don't work" in more detail. How can we guess? Does the image look wrong? Does Acrobat crash? Is there an exception? Does the computer explode?
View ArticleRe: PDEImageCreate
Does the computer explode this is what really HappensNone of these just nothing displayed a blank page displayed pdeimage element not exist I hope I explained well
View ArticleRe: PDEImageCreate
Ok, have you examined the PDF internals to see if there is an image, which you cannot see on the page, present in the page contents?
View ArticleRe: PDEImageCreate
when we create an image via this method, an empty page appears in acrobat and nothing is shown there. but as I said before in first method whole page render correctly.all elements are same in both test...
View ArticleRe: PDEImageCreate
You need to be doing low level analysis of the page to find what the error is. The tool PDF Can Opener is a popular one. Full and detailed knowledge of 32000-1 is a must. Of course the API can be used...
View ArticleRe: PDEImageCreate
By the way, the page may be blank because- there are no contents- the size is too large or too small (implementation limit)- image is placed off page by CTM- image is scaled too small by CTMThese ones...
View ArticleRe: PDEImageCreate
Thanks for your replyI think found the problem but I cant solve this?I generate img2 from img1 with same attributes and details(in first post I post the code for copy image)then I decide compare these...
View ArticleRe: PDEImageCreate
I have no idea what you mean by 1073741826 - is this returned by ASErrorCode()? If so, use Acrobat APIs to format an error message. If not, what API returns it?
View ArticleRe: PDEImageCreate
I use this DURING.... // some codesHANDLER int err = ERRORCODE; // return 1073741826 END_HANDLER
View ArticleRe: PDEImageCreate
ERRORCODE is not to be treated or reported as an integer. The numbers are not fixed. Use APIs to turn it into a text message.
View ArticleRe: PDEImageCreate
Backing up here – if your goal is to simply copy the image from one content stream to another – then why not use PDEElementCopy() to do that?
View ArticleSet Resolution thru Acrobat.CAcroPDDoc
Hi, I am looking for setting the Resolution thru Acrobat.CAcroPDDoc API when we convert from PDF to TIFF. Need to know how to do this. Thanks in advance. ThanksPrabhu
View Article