views:

18

answers:

1

I want to save my created image as a PNG or JPEG file with the help of GDI+ but i can't find a way to do this. Seems that there is no way to create a non file based Image and fill it with a bitblit from the HBITMAP.

Or do i miss something?

A: 

Use the Bitmap::FromHBITMAP() method. Then just Save() it.

Hans Passant