Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Browsing all 10848 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


PDEImageCreate

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 Article


Re: 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 Article

Re: 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 Article

Re: PDEImageCreate

I mean don't workIs my method right? where is the problem thanks for your attention

View Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Image may be NSFW.
Clik here to view.

Re: 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 Article


Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: PDEImageCreate

I use this DURING.... // some codesHANDLER  int err =  ERRORCODE; // return 1073741826 END_HANDLER

View Article

Re: 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 Article


Re: PDEImageCreate

ASErrorGetString, IIRC

View Article

Re: 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 Article


Re: PDEImageCreate

Because I need to change its contents for example negative an image

View Article

Image may be NSFW.
Clik here to view.

Re: PDEImageCreate

I’d still copy the element and then operate on the copy

View Article

Set 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
Browsing all 10848 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>