Class
OfficeJpegEncodeOptions
OfficeIMO.Drawing
JPEG encoding options.
Inheritance
- object
- OfficeJpegEncodeOptions
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeRasterEncodingOptions.Jpeg
Accepted by parameters 2
- Method OfficeJpegCodec.Encode
- Method OfficeJpegCodec.EncodeTo
Constructors
public OfficeJpegEncodeOptions() #Inherited Methods
Properties
public OfficeJpegSubsampling Subsampling { get; set; } #Chroma subsampling mode.
public bool Progressive { get; set; } #Enables progressive JPEG encoding.
public bool OptimizeHuffman { get; set; } #Enables lossless statistical Huffman optimization. Disable to use the standard tables and lower coefficient memory.
public OfficeJpegMetadata Metadata { get; set; } #Optional metadata segments (EXIF/XMP/ICC).
public bool WriteJfifHeader { get; set; } #Writes a JFIF APP0 header when true.
public OfficeColor Background { get; set; } #Background used when flattening transparent RGBA pixels into JPEG.
public double DpiX { get; set; } #Horizontal resolution written to the JFIF header.
public double DpiY { get; set; } #Vertical resolution written to the JFIF header.