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

BmpFrame.Compression Property

Gets/sets BMP compression type.

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


Visual Basic
Public Property Compression As CompressionType
public CompressionType Compression { get; set; }

Property Value

Value that specifies necessary BMP compression type.


BMP format very limited compression support. The table below specifies what compression types are supported by this format:

Compression Type Limitations
None compression type. No limitations. Supported with all pixel formats allowed for BMP files.
Rle compression type. Can be used only if the bitmap has 4 or 8 bits per pixel (PixelFormat is Format4bppIndexed, Format8bppIndexed, or Format8bppGrayScale).

Default value is None.

See Also