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

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

New Here ,
Jan 06, 2023 Jan 06, 2023

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.

 

TOPICS
Windows

Views

208

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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.

Votes

Translate

Translate

Report

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

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.

 

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

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

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