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

QualityFactor Property (CodecsJpegSaveOptions)






Gets and sets the Quality Factor (QFactor) to use when saving JPEG, LEAD CMP and other compressed images that support Quality Factor. .NET support WinRT support Silverlight support
Syntax
public int QualityFactor {get; set;}
'Declaration
 
Public Property QualityFactor As Integer
'Usage
 
Dim instance As CodecsJpegSaveOptions
Dim value As Integer
 
instance.QualityFactor = value
 
value = instance.QualityFactor
public int QualityFactor {get; set;}
 get_QualityFactor();
set_QualityFactor(value);
public:
property int QualityFactor {
   int get();
   void set (    int value);
}

Property Value

The Quality Factor to use when saving JPEG and LEAD CMP compressed images.
Remarks

You can set 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 files.

For information on formats that support quality factor, refer to Compression Quality Factors.

Example
For an example, refer to CodecsJpegOptions.
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

CodecsJpegSaveOptions Class
CodecsJpegSaveOptions Members
Compression Using LEAD and JPEG Formats

 

 


Products | Support | Contact Us | Copyright Notices

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