You can specify a quality factor when saving an image file to LEAD (CMP), or one of the JPEG still formats. The quality factor (Q factor) is a number that determines the degree of loss in the compression process. You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression.
For LEAD CMP compression only, you can also use one of the following enhanced options:
|Q Factor||Predefined options for LEAD only|
Perfect quality 1This 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.
Perfect quality 2This will produce a smaller file size than Perfect Quality 1 but will still maintain similar quality.
Quality far more important than sizeThis 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.
Quality more important than sizeWhile 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.
Quality and size equally importantThis 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.
Size more important that quality(sharp)This option is recommended for images that have sharp edges (for example, an image with a text overlay or an image with many straight lines). Although it creates a larger file than the SQT option, it retains better edges.
Size more important than quality (less tiling)This option produces less tiling in the image than with the previous options. However, it can distort text or straight lines. It is a good option for image database applications.
Maximum compression keeping qualityThis option provides maximum compression while maintaining as high as possible image quality.
Maximum compressionThis option gives maximum compression. It is equivalent to a Q factor of 255.
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms