Copy link to clipboard
Copied
I know I have seen one, and now that I am at a point where I need to do this, I can't find it.
Copy link to clipboard
Copied
Hi,
I can't find a sample that does it from an in memory image but this sample does it from a image file, and might be a place to start, in the Acrobat SDK -> Snippets section ->AddImageSnip.cpp
Copy link to clipboard
Copied
I don't understand what you mean by:
"Acrobat SDK -> Snippets section ->AddImageSnip.cpp"
I found a Snippet Runner sampleapp and it has a Snippets folder, but there is no such file in the folder. Trying to run that project, but it gets errors in VS.
Copy link to clipboard
Copied
I did find a description of as being an example of ceating an XObject from a jpeg file, which would be problematic for what I am trying to do.
Copy link to clipboard
Copied
And in poking around, I think I found what I saw before. Also a File based example, but when it does the bmp, it is read into memory and then the conversion/creation is done.
Copy link to clipboard
Copied
The sample referred to above has moved here https://github.com/datalogics/apdfl-cplusplus-samples/tree/develop/Images/FindImageResolutions