eLynx SDK v3.3.0
C++ image processing API reference

jpeg

Lossy format, small file

JPEG(Joint Photographic Experts Group) files are a lossy format (in most cases). The DOS filename extension is JPG, although other operating systems may use JPEG. Nearly all digital cameras have the option to save images in JPEG format. The JPEG format supports 8 bits per color - red, green, and blue, for 24-bit total - and produces relatively small file sizes. The compression when not too severe does not detract noticeably from the image. But JPEG files can suffer generational degradation when repeatedly edited and saved. Photographic images may be better stored in a lossless non-JPEG format if they will be re-edited in future, or if the presence of small "artifacts" (blemishes), due to the nature of the JPEG compression algorithm, is unacceptable. JPEG is also used as the image compression algorithm in many Adobe PDF file.

Joint Photographic Experts Group (JPEG) format is commonly used to display photographs and other continuous-tone images in hypertext markup language (HTML) documents over the World Wide Web and other online services. JPEG format supports CMYK, RGB, and Grayscale color modes, and does not support transparency. Unlike GIF format, JPEG retains all color information in an RGB image but compresses file size by selectively discarding data.

A JPEG image is automatically decompressed when opened. A higher level of compression results in lower image quality, and a lower level of compression results in better image quality. In most cases, the Maximum quality option produces a result indistinguishable from the original.

Specification from Wikipedia
Library libjpeg Version 8b - May 16, 2010
Copyright JPEG support provided by the Independent JPEG Group's JPEG software.
This software is based in part on the work of the Independent JPEG Group.
Samples here
FileFeaturesPixel format
gray8-standard.jpg gray 8-bit with standard compression Lub
gray8-progressif.jpg gray 8-bit with progressive compression Lub
gray8-bad.jpg gray 8-bit with encoding error Lub
24b-standard.jpg rgb 24-bit with standard compression RGBub
24b-progressif.jpg rgb 24-bit with progressive compression RGBub
24b-bad.jpg rgb 24-bit with encoding error RGBub

Generated on Thu Dec 9 2010 by doxygen 1.7.2