VintaSoft Imaging .NET SDK 15.1: 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

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

[DefaultValue(False)]
[Description("A value indicating whether JPEG file with the optimal Huffman tables must be created.")]
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 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also