←Select platform

QualityFactor Property

Summary
Gets and sets the Quality Factor for saving PNG files.
Syntax
C#
VB
Objective-C
C++
Java
public int QualityFactor {get; set;} 
Public Property QualityFactor As Integer 
@property (nonatomic, assign) NSInteger qualityFactor 
public int getQualityFactor() 
public void setQualityFactor(int value) 
public: 
property int QualityFactor { 
   int get(); 
   void set (    int ); 
} 

Property Value

Any value between 0 and 10. 0 = (default compression), 1 (fastest compression) to 9 (highest compression ratio), 10 (no compression).

Default value is 3.

Example

For an example, refer to CodecsPngOptions.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.