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

SwfEncoderOptions.Compression Property

Gets/sets SWF compression type for the frame.

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

Syntax

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

Property Value

CompressionType value that specifies necessary SWF compression type.

Remarks

SWF format allows to specify compression for each frame individually. Supported compression types are listed in the following table:

Compression Type Limitations
Zip compression type. No limitations.
Jpeg compression type. Can be used only with those pixel formats which are supported by JPEG (non-extended and non-indexed grayscale, RGB, and CMYK images). To adjust JPEG quality, use Quality property.

Default value is Zip.

See Also

Reference