GenerateOptimalHuffmanTables Property (JpegEncoderSettings)
Gets or sets a value indicating whether JPEG file with the optimal Huffman tables must be created.
[DefaultValue(False)]
[Description("A value indicating whether JPEG file with the optimal Huffman tables must be created.")]
public bool GenerateOptimalHuffmanTables { get; set; }
[DefaultValue(False)]
[Description("A value indicating whether JPEG file with the optimal Huffman tables must be created.")]
public: __property bool get_GenerateOptimalHuffmanTables();
public: __property void set_GenerateOptimalHuffmanTables(
bool
);
[DefaultValue(False)]
[Description("A value indicating whether JPEG file with the optimal Huffman tables must be created.")]
public:
property bool GenerateOptimalHuffmanTables {
bool get();
void set(bool );
}
Property Value
false - JPEG file with standard (static) Huffman tables will be created, encoding will be faster, but JPEG file size will not be optimal; true - JPEG file with optimal (dynamic) Huffman tables will be created, encoding will be some slower, but JPEG file size will be optimal.
Default value is false.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5