<p>I want to convert a BYTE* into  an gdi+ Image object.<p>
How can I do this?<p>
The BYTE* seems a Dib point.<p>
I found Image has a method named Image::FromStream() which may help,
But I can not find any reference about how to convert a BYTE* into a IStream object.
How can I do this? 
<p>
Thanks in advance!</p>

<p><strong>Actually, it is hard to believe MS provide a IStream interface, but do not provide any c++ MemoryStream class which implements the interface.</strong></p>

Do you know the format of the image data the
```
BYTE
```
pointer points at? For Image to be able to construct itself from a stream, the data must be in one of the supported standard image formats (GIF, PNG, JPEG etc).
The
IStream
interface looks to be simple enough to implement on your own, if there's no suitable "memory stream" or similiar.