C
Chris Ashley
Hi,
If I create a Bitmap object from a stream, is the data making up the
image from that stream duplicated in the Bitmap object, or does the
Bitmap just point to the stream somehow without holding any image
data?
I did notice that if I populated a Bitmap object from a MemoryStream,
if I closed the MemoryStream I got a GDI error when I tried to save
the Bitmap, so I assumed it was the latter. Just looking for
confirmation.
Thanks,
Chris
If I create a Bitmap object from a stream, is the data making up the
image from that stream duplicated in the Bitmap object, or does the
Bitmap just point to the stream somehow without holding any image
data?
I did notice that if I populated a Bitmap object from a MemoryStream,
if I closed the MemoryStream I got a GDI error when I tried to save
the Bitmap, so I assumed it was the latter. Just looking for
confirmation.
Thanks,
Chris