This documentation is for the old version. Go to the latest Graphics Mill docs

BmpFrame Constructor (Bitmap, CompressionType)

Creates and initializes new BmpFrame class instance. You can set bitmap and compression type here.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	compression As CompressionType _
)
C#
public BmpFrame(
	Bitmap bitmap,
	CompressionType compression
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance which should be associated with this frame. To put another bitmap into frame, you should use SetBitmap(Bitmap) method.
compression

Type: Aurigma.GraphicsMill.Codecs.CompressionType

Value that specifies necessary BMP compression type. You can change it later using Compression property.

See Also

Reference