API Reference
Class
OfficeJpegEncodeOptions
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
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
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.