Enum PngCompressionStrategy
- Namespace
- ImageMagick.Formats
- Assembly
- Magick.NET-Q8-AnyCPU.dll
Specifies the PNG compression strategy.
public enum PngCompressionStrategy
Fields
Adaptive = 5
Adaptive filtering is used when quality is greater than 50 and the image does not have a color map; otherwise, no filtering is used.
AdaptiveMinimumSum = 6
Adaptive filtering with minimum-sum-of-absolute-values is used.
Default = 4
Use the default compression strategy.
Filtered = 1
Compression algorithm with filtering.
Fixed = 3
Use a fixed strategy for compression.
HuffmanOnly = 0
Use the Huffman compression.
LOCO = 7
LOCO color transformation (intrapixel differencing) and adaptive filtering with minimum-sum-of-absolute-values are used. Only applicable if the output is MNG.
RLE = 2
Use the Run-Length Encoding compression.
ZRLEAdaptive = 8
The zlib Z_RLE compression strategy (or the Z_HUFFMAN_ONLY strategy when compression level is 0) is used with adaptive PNG filtering.
ZRLENoFilter = 9
The zlib Z_RLE compression strategy (or the Z_HUFFMAN_ONLY strategy when compression level is 0) is used with no PNG filtering.