ImageGear for C and C++ on Windows v19.4 - Updated
Lossless JPEG Compression
User Guide > File Formats and Compressions > Compressions > JPEGCompressions > Lossless JPEG Compression

Lossless JPEG Compression

Full Name Lossless JPEG compression
Compression ID IG_COMPRESSION_JPEG = 6
ImageGear Component Core
Bit Depth Gray level: 8, 16 bpp; RGB: 24, 48 bpp
File Formats DICOM, JPEG, TIFF
ImageGear Platforms Support WIN32, WIN64, Unix, Unix64, .NET, .NET64, MAC

Comments:

Lossless JPEG is an extension to the normal JPEG standard. One of the main algorithmic differences between the two is that the lossless JPEG does not apply a Discrete Cosine Transform. Rather, it uses a Predictive scheme. For each pixel, the values of one or several neighboring pixels are added to the value of the original pixel and then subtracted from the value of the original pixel. This method yields smaller values that require fewer bits per pixel to store.

ImageGear allows you to set the number of neighboring pixels to use in calculating the "predictor value".