Convert GD-Sharp Stream to Bitmap
im currently trying GD-Sharp and want to convert the graphics to a bitmap without saving it to an image file.
GD-Sharp method for saving to stream
bool GB.Save (outStream);
to save the stream using
using (FileStream fs = File.OpenWrite (@ "stream1.jpg"))
{
image.Save ((System.IO.Stream) fs);
fs.Close ();
}
since bitmap supports stream, how does it convert GD-Sharp to Bitmap? thanks.
0
a source to share