Gets or sets the JPEG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document.
public int JpegQualityFactor {get; set;}
Public Property JpegQualityFactor As Integer
public int getJpegQualityFactor()
public void setJpegQualityFactor(int qualityFactor)
A value from 2 to 255, where 2 is the highest quality and 255 is the most compression. You can also use a factor of 0 to produce lossless JPEG compressed images. Default value is 2 (Highest quality).
The RasterCodecs object will use the JpegQualityFactor value when images are saved with the following formats:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document