VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / JpegEncoderSettings Class / GenerateOptimalHuffmanTables Property
Syntax Requirements SeeAlso
In This Topic
GenerateOptimalHuffmanTables Property (JpegEncoderSettings)
In This Topic
Gets or sets a value indicating whether JPEG file with the optimal Huffman tables must be created.
Syntax
'Declaration

<DescriptionAttribute("A value indicating whether JPEG file with the optimal Huffman tables must be created.")>
<DefaultValueAttribute(False)>
Public Property GenerateOptimalHuffmanTables As Boolean

[Description("A value indicating whether JPEG file with the optimal Huffman tables must be created.")]
[DefaultValue(False)]
public bool GenerateOptimalHuffmanTables { get; set; }

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.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also