GifCompressionMode Enumeration
Represents the compression behavior of the
GifEncoder class.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public enum GifCompressionMode
Public Enumeration GifCompressionMode
public enum class GifCompressionMode
| 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.
|