ImageGear for Java
com.accusoft.imagegear.formats.jpg Package
Inheritance Hierarchy
This package provides enumerations values for JPEG format filter control parameters.
Enumerations
EnumerationDescription
ImGearDecimationTypes This enumeration lists all possible JPEG decimation values.

The format of these ImageGear decimation constants is: Decim_(H1)x(V1)_(H2)x(V2)_(H3)x(V3),

where Hi, Vi = horizontal and vertical decimation values for the i-channel.

The following is a simple example of decimation. For a more detailed definition, please see the JPEG Specification.

A decimation setting of Decim_4x2_1x1_1x1 would yield the following results:

As shown, 8 Y components in the source image have yielded one Cb and one Cr component. In general, this setting will reduce the quality of the compression, unless the image has many continuous tone areas.

Maximum quality can be reached using a value of Decim_1x1_1x1_1x1.

Maximum compression ratio can be reached with a value of Decim_4x4_2x2_2x2.

The ImageGear default decimation value is: Decim_2x2_1x1_1x1.

See Also

Reference

ImageGearJava Project

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback