ClassJpegEncoderParameters
Settings for controlling JPEG compression, including quantization tables, encoding mode, quality, and sample precision.
Definition
Namespace:Telerik.Windows.Documents.Core.Imaging.Jpeg.Encoder
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public class JpegEncoderParameters : INotifyPropertyChanged
Inheritance: objectJpegEncoderParameters
Implements:
Constructors
JpegEncoderParameters()
Initializes a new instance of the JpegEncoderParameters class with default luminance and chrominance quantization tables.
Declaration
public JpegEncoderParameters()
Properties
ChrominanceTable
Gets or sets the 64-byte chrominance quantization table used during encoding, which influences color compression and visual quality.
Declaration
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public byte[] ChrominanceTable { get; set; }
Property Value
byte[]
EncodingType
Gets or sets the JPEG encoding mode (e.g., Baseline or Progressive), which determines scan layout and decoder compatibility.
Declaration
public JpegEncodingType EncodingType { get; set; }
Property Value
LuminanceTable
Gets or sets the 64-byte luminance quantization table used during encoding, which affects detail retention and compression of brightness.
Declaration
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public byte[] LuminanceTable { get; set; }
Property Value
byte[]
QuantizingQuality
Gets or sets the quality factor (0–100) applied to quantization; higher values preserve detail at the cost of larger files.
SamplePrecision
Gets or sets the sample precision in bits for component values in the frame; affects encoded bit depth.
Declaration
public int SamplePrecision { get; set; }
Property Value
Remarks
CCITT T.81, Annex B, section B.2.2 Frame header syntax (see P parameter in the Table B.2).
Events
PropertyChanged
Raised when any encoder parameter changes; use to react to updates that affect encoding output.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements