ISystemSpecifics.BitmapToStream Method

Save a given bitmap to stream.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
void BitmapToStream(
	IBitmap bmp,
	Stream ms,
	BitmapFormat format
)

Parameters

bmp  IBitmap
A bitmap to save to the stream.
ms  Stream
Stream to save bitmap to.
format  BitmapFormat
Format of the result image.

See Also