DesktopSystemSpecificsBitmapToStream Method

Save a given bitmap to stream.

Definition

Namespace: SMath.Environment
Assembly: SMath.Environment (in SMath.Environment.dll) Version: 1.2.9018.0
C#
public 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.

Implements

ISystemSpecificsBitmapToStream(IBitmap, Stream, BitmapFormat)

See Also