LEADTOOLS Multimedia (Leadtools.MediaFoundation assembly)

StillQuality Enumeration

Show in webframe



Defines the compression quality factors affecting CMP still images.
Syntax
'Declaration
 
Public Enum StillQuality 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As StillQuality
public enum class StillQuality : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0xFFFFFFF7MCMaximum compression. This option gives maximum compression. It is equivalent to a Q factor of 255.
0xFFFFFFF8MCQMaximum compression keeping quality. This option provides maximum compression while maintaining as high as possible image quality.
0xFFFFFFF9SQTSize more important than quality (less tiling). This option produces less tiling in the image than the previous options. However, it can distort text or straight lines. It is a good option for image database applications.
0xFFFFFFFASQSSize 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
0xFFFFFFFBQSQuality 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.
0xFFFFFFFCQMSQuality 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.
0xFFFFFFFDQFSQuality 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.
0xFFFFFFFEPQ2Perfect quality 2. This will produce a smaller file size than PQ1 while maintaining similar quality.
0xFFFFFFFFPQ1Perfect 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.
Remarks
The quality factor can be specified when saving an image file to the LEAD (CMP) format, or one of the JPEG still image formats. The quality factor (Q factor) is a number that determines the acceptable degree of loss in the compression process. Values can be set from 2 to 255, where 2 is the highest quality and 255 is the most compressed.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.MediaFoundation.StillQuality

Requirements

Target Platforms

See Also

Reference

Leadtools.MediaFoundation Namespace

 

 


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

Leadtools.MediaFoundation requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features