AnimatedGifConfigurationQuantizer Property

Gets or sets an optional quantizer to be used for the frames. Using a non- value forces quantizing also the already indexed images. Should use up to 256 colors; otherwise, the result might be quantized further with using the default system 8-bit palette.
Default value: .

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public IQuantizer? Quantizer { get; set; }

Property Value

IQuantizer
If , then the possibly existing palette of already indexed input frames are preserved. For frames with a non-indexed pixel format a quantizer returned by the OptimizedPaletteQuantizer.Wu method will be used.
If not , then all frames will be quantized, even the already indexed ones. If it does not support transparency, then AllowDeltaFrames will be ignored.

See Also