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

GifEncoderOptions.Optimized Property

Gets/sets a value that specifies if the frame is optimized.

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

Syntax

Visual Basic
Public Property Optimized As Boolean
C#
public bool Optimized { get; set; }

Property Value

Value that specifies if the frame is optimized.

Remarks

When the optimization is enabled, the following algorithms are applied:

  • Global palette common to all frames is generated, and all frames are using this palette. To control this algorithm, use the BasisOptimizationFrameCount and LastFrame properties.
  • If the neigbour frames have the same portions of the image the frame is automatically cropped (if possible).
  • If some pixels in the neigbour frames are the same, they are replaced by the transparent ones (if possible).

See Also

Reference