Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SDK c++ example of creating a PDEImage from an in memory Windows bitmap

New Here ,
Jan 06, 2023 Jan 06, 2023

 

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.

 

TOPICS
Windows
610
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2023 Jan 09, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2023 Jan 09, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2023 Jan 09, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2023 Jan 09, 2023

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.

 

https://github.com/datalogics/adobe-pdf-library-samples/blob/master/CPlusPlus/Sample_Source/Images/F...

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 12, 2023 Jul 12, 2023
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines