LEADTOOLS Image File Support (Leadtools.Codecs assembly)

QualityFactor Property (CodecsJpegSaveOptions)

Show in webframe







Gets and sets the Quality Factor (QFactor) to use when saving JPEG, LEAD CMP and other compressed images that support Quality Factor.
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;}
@property (nonatomic, assign) int qualityFactor;
public int getQualityFactor()
public void setQualityFactor(int value)
            
 
get_QualityFactor();
set_QualityFactor(value);
Object.defineProperty('QualityFactor');
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

See Also

Reference

CodecsJpegSaveOptions Class
CodecsJpegSaveOptions Members
Compression Using LEAD and JPEG Formats

 

 


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