JPEG Functions

Getting Started

Overview Overview of JPEG library.

Encoding

JPEGEncGetSurfaceInfo Retrieve the size of the work memory used for JPEG encoding, which is calculated from given image information (width, height, and number of color channels) of surface image to be encoded.
JPEGEncEncodeSurface Encodes surface image into JPEG binary.
JPEGEncGetInfo DEPRECATED This function is deprecated. Use JPEGEncGetSurfaceInfo instead.
JPEGEncEncode DEPRECATED This function is deprecated. Use JPEGEncEncodeSurface instead.

Decoding

JPEGDecGetImageInfo From input JPEG binary, extracts the image information (width, height, and number of color channels) and calculates the size of the work memory used for JPEG decoding.
JPEGDecDecodeImage Decodes JPEG binary into surface image.
JPEGDecGetInfo DEPRECATED This function is deprecated. Use JPEGDecGetImageInfo instead.
JPEGDecDecode DEPRECATED This function is deprecated. Use JPEGDecDecodeImage instead.

Type

JPEGStatus Definitions of exit status codes of JPEG library.
JPEGImageDim Type used to indicate image information (width, height and number of color channels) of surface image.

Demos

JPEG Demo List of JPEG library demos.

Revision History

2013/06/04 Deprecated some APIs.
2013/05/08 Automated cleanup pass.
2013/02/19 Replaced words 'texture' with 'surface'.
2012/03/07 Eliminated JPEGEncCalcWorkArea, JPEGDecCalcWorkArea, and JPEGDecGetDimension.
2012/03/07 Added JPEGEncGetInfo and JPEGDecGetInfo.
2012/03/07 Redefined JPEGStatus.
2011/08/08 Initial version.


CONFIDENTIAL