LEADTOOLS Image File Support (Leadtools.Codecs assembly)

JpegQualityFactor Property

Show in webframe







Gets or sets the JPEG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document.
Syntax
public int JpegQualityFactor {get; set;}
'Declaration
 
Public Property JpegQualityFactor As Integer
'Usage
 
Dim instance As CodecsXpsSaveOptions
Dim value As Integer
 
instance.JpegQualityFactor = value
 
value = instance.JpegQualityFactor
public int JpegQualityFactor {get; set;}

            

            
 
get_JpegQualityFactor();
set_JpegQualityFactor(value);
Object.defineProperty('JpegQualityFactor');
public:
property int JpegQualityFactor {
   int get();
   void set (    int value);
}

Property Value

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).
Remarks

The RasterCodecs object will use the JpegQualityFactor value when images are saved with the following formats:

Example
For an example, refer to CodecsXpsOptions.
Requirements

Target Platforms

See Also

Reference

CodecsXpsSaveOptions Class
CodecsXpsSaveOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.