LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

JpegQualityFactor Property






Gets or sets the JPEG quality factor used saving a raster image as an Open XML Paper Specification (XPS) document. .NET support
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);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsXpsSaveOptions Class
CodecsXpsSaveOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.