SECJpeg Class

class SECJpeg: public SECImage

SECJpeg is  SECImage derived class which supports the JFIF (JPEG file interchange format) file standard.

Defined in: SECJPEG.h

Comments

It should be noted that "JPEG" is actually a specification for a compression scheme, while JFIF is a file format which utilizes the JPEG scheme.

The JFIF standard offers a superior compression scheme and supports up to 24-bit images. JFIF files are often used in image processing applications.

SECJpeg is based on the JFIF version 1.0.2 specification.

You can control image quality by setting the member variables m_nQuality (for image quality), m_nSmoothing (for smoothing factor), m_bOptimizeEntropyCoding (TRUE or FALSE on whether you wish to use Entropy Coding) and m_bArithmeticCoding (TRUE or FALSE on whether you wish to use Arithmetic coding). All these parameters are well documented and discussed thoroughly by the Independendent JPEG User’s Group from which SECJpeg is based.

See the IMAGETST sample in the \\OT\\SAMPLES\\STANDARD\\IMAGE\\IMAGETST directory for a demonstration of this class.

See Also

SECImage

Class Members

Construction

 SECJpeg()

Constructs a SECJpeg object.

BOOL  m_bQuantize

Flag to invoke color dithering.

long  m_nQuality

Image quality (affects compression).

long  m_nSmoothing

Smoothing factor.

BOOL  m_bOptimizeEntropyCoding

Entropy coding flag.

BOOL  m_bArithmeticCoding

Arithmetic coding flag.