Encodes the specified bitmap with given size.

Namespace: FirstFloor.Documents.Imaging
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public Stream Encode(
	int width,
	int height,
	Stream stream
)
Visual Basic
Public Function Encode ( _
	width As Integer, _
	height As Integer, _
	stream As Stream _
) As Stream
Visual C++
public:
Stream^ Encode(
	int width, 
	int height, 
	Stream^ stream
)

Parameters

width
Type: System..::..Int32
The width.
height
Type: System..::..Int32
The height.
stream
Type: System.IO..::..Stream
The stream containing a raw bitmap.

Return Value

The encoded bitmap stream.

See Also