AnimatedGifConfigurationDeltaTolerance Property
Gets or sets the allowed maximum tolerance for detecting changes of consecutive frames when
AllowDeltaFrames is
.
Default value: 0.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.0.0-preview.1
public byte DeltaTolerance { get; set; }
Public Property DeltaTolerance As Byte
Get
Set
public:
property unsigned char DeltaTolerance {
unsigned char get ();
void set (unsigned char value);
}
member DeltaTolerance : byte with get, set
Property Value
Byte
If 0, then even a minimal color difference will be considered as a change to be encoded.
If 255, then nothing will be treated as a change. The animation will have no new frames unless a frame contains new transparent pixels compared to the previous one.
The reasonable range is between 0 and 16 with an optimized quantizer. Predefined quantizers may tolerate larger values (eg. up to 32) with some dithering.