I have an image (.png) stored inside of a GDI+ Image data type. Can anyone tell me how I would get image data stored in an GDI+ image variable, inside of a memory DC?

**Here is some code:**

```
Graphics graphics(hdc);
Image image(pStream);

int image_width;
int image_height;

image_width= image.GetWidth();
image_height=image.GetHeight();

graphics.DrawImage(&image, posX,posY, image_width, image_height);    

```

**The objective is to be able to double buffer this GDI+ image (for animations' sake!).**

I know how to double buffer with GDI, but not with GDI+. With GDI, simply select an HBITMAP into a memory DC, however, with GDI+, the image is not in an HBITAP, but rather, in an image variable. Can anyone tell me how to get an image that is not an HBITMAP, into a memory DC? Thank you.