Represents the compression behavior of the GifEncoder class.
Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.2
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
Auto | 0 | Represents the automatic adaptive mode. The internally used code table might be regularly cleared. | |
DoNotClear | 1 | Indicates that once the internally used code table is full, it is not maintained anymore and all remaining codes are written using 12 bit code size. If codes so far can be re-used, then the result can be more compact than with Auto mode; otherwise, the result can be even longer than in Uncompressed mode. This option might not be tolerated by some decoders. | |
DoNotIncreaseBitSize | 2 | Indicates that all written codes must use the same bit size (3 to 9 bits, depending on palette size). It uses less memory but it may lead to poor compression, especially with palettes using no more than 4 colors. | |
Uncompressed | 3 | Indicates that the GifEncoder should not use any compression. It uses the least memory but the result can be really long. |
See Also