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.
unwind
2008-11-04 07:48:12