Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
CodecsCmpQualityFactorPredefined Enumeration
See Also  
Leadtools.Codecs Namespace : CodecsCmpQualityFactorPredefined Enumeration



Indicates the pre-defined quality factor for saving LEAD CMP compressed images.

Syntax

Visual Basic (Declaration) 
Public Enum CodecsCmpQualityFactorPredefined 
   Inherits Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As CodecsCmpQualityFactorPredefined
C# 
public enum CodecsCmpQualityFactorPredefined : Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class CodecsCmpQualityFactorPredefined : public Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
PerfectQuality1Perfect quality 1
This option compresses all colors of a 24-bit file and maintains the quality of the original image at a smaller file size. As the name suggests, there is no visual loss of color at this setting.
PerfectQuality2Perfect quality 2
This will produce a smaller file size than PQ1 while maintaining similar quality.
SuperQualityQuality far more important than size
This option removes colors not noticed by the human eye. Most viewers cannot tell the difference between an image compressed at this level and the original image.
QualityQuality more important than size
While more colors are removed, most of them are colors or shades that are close to one another. The compressed image will appear very much like the original image. It will take some study to see the difference.
QualityAndSizeQuality and size equally important
This option provides the highest compression while maintaining good image quality. Try this option first, then move up or down the list accordingly to obtain acceptable compression size and image quality.
SharpSize more important that quality (sharp)
This option is recommended for images that have sharp edges. For example, an image that has a text overlay or an image with many straight lines. While it creates a larger file than the next option, it retains better edges.
LessTilingSize more important than quality (less tiling)
This option produces less tiling in the image than the previous options. However, it may distort text or straight lines. It is a good option for image database applications.
MaximumQualityMaximum compression keeping quality
This option provides maximum compression while maintaining as high as possible image quality.
MaximumCompressionMaximum compression
This option gives maximum compression. It is equivalent to a Q factor of 255.
CustomCustom Quality Factor.
The quality factor is a predefined number between 2 and 255.

Example

For an example, refer to CodecsJpegOptions.

Remarks

For more information, refer to Compression Using LEAD and JPEG Formats.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Codecs.CodecsCmpQualityFactorPredefined

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also