API Reference
Class
OfficeJpegEncodeOptions
JPEG encoding options.
Inheritance
- Object
- OfficeJpegEncodeOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeRasterEncodingOptions.Jpeg
Accepted by parameters
- Method OfficeJpegCodec.Encode
- Method OfficeJpegCodec.EncodeTo
- Method OfficeJpegCodec.EncodeTo
Constructors
public OfficeJpegEncodeOptions() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 Quality { get; set; } #JPEG quality (1..100).
public OfficeJpegSubsampling Subsampling { get; set; } #Chroma subsampling mode.
public Boolean Progressive { get; set; } #Enables progressive JPEG encoding.
public Boolean OptimizeHuffman { get; set; } #Enables optimized Huffman tables.
public OfficeJpegMetadata Metadata { get; set; } #Optional metadata segments (EXIF/XMP/ICC).
public Boolean 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.