JPEG and LEAD Compressed (JPG, J2K, JP2, CMP, and CMW)

LEADTOOLS writes the following LEAD and JPEG compressed formats:

image\sqrblit.gif LEAD. This is the LEAD CMP compressed format for grayscale and color images. This format results in smaller files and better image quality than industry-standard formats. In addition, LEAD also supports CMW files, which use Wavelet CMP compression in 8, 12, and 16-bit grayscale and 24-bit color.

image\sqrblit.gif Progressive LEAD. This is a LEAD format that is useful for transmitting images, because the first part of the file contains the full dimensions of the image. In this format you can write 8 or 24 bits per pixel, where 8 is for grayscale and 24 is for color.

image\sqrblit.gif Lossy JFIF. This is the JPEG File Interchange Format. LEADTOOLS supports YUV 4:4:4, 4:2:2, and 4:1:1 color spacing, and YUV 4:0:0 for grayscale.

image\sqrblit.gif Lossless JFIF. This is the JPEG File Interchange Format. LEADTOOLS supports 8, 12, and 16-bit grayscale and 24-bit color spacing. Please note that not all applications support Lossless JPEG. Before saving a file using Lossless JPEG, make sure your reader supports it.

Both JPEG 4:4:4 and Lossless JPEG will be recognized when getting file information.

image\sqrblit.gif Progressive JPEG. This is a JFIF format that is useful for transmitting images, because the first part of the file contains the full dimensions of the image. LEADTOOLS supports YUV 4:4:4, 4:2:2, and 4:1:1 color spacing, and YUV 4:0:0 for grayscale.

image\sqrblit.gif Lossy JTIF. This is the JPEG Tagged Interchange Format. LEADTOOLS supports YUV 4:4:4, 4:2:2, and 4:1:1 color spacing, and YUV 4:0:0 for grayscale.

image\sqrblit.gif Lossless JTIF. This is the JPEG Tagged Interchange Format. LEADTOOLS supports 8, 12, and 16-bit grayscale and 24-bit color spacing. Please note that not all applications support Lossless JPEG. Before saving a file using Lossless JPEG, make sure your reader supports it.

Both TIFF JPEG 4:4:4 and Lossless JPEG will be recognized when getting file information.

image\sqrblit.gif J2K – Lossy or Lossless. This is a JPEG 2000 Format. LEADTOOLS can save 8 - 16-bit grayscale and 24, 27, 30, 33, 36, 39, 42, 45 and 48--bit color images. The J2K format contains only a stream of image data

image\sqrblit.gif JP2 – Lossy or Lossless. This is a JPEG 2000 Format. LEADTOOLS can save 8 - 16-bit grayscale and 24, 27, 30, 33, 36, 39, 42, 45 and 48--bit color images. The JP2 format contains a stream of image data, plus extra data about the organization and contents of the file.

image\sqrblit.gif TIF J2K – Lossy or Lossless. This is a Tagged Image File with JPEG 2000 Compression. This file format contains only a stream of image data. LEADTOOLS supports 8, 12, and 16-bit grayscale and 24-bit color spacing.

Please note that the LTCLR DLL is required for saving JPEG LAB images.

File constants associated with this file format are:

Constant

Write Support

Description

FILE_CMP

8 BPP (Grayscale)
24 BPP

[5] LEAD CMP compressed format.

FILE_JPEG

8, 12, 16 BPP (Grayscale)
24 BPP

[10] JPEG File Interchange Format.

FILE_JPEG_411

8 BPP (Grayscale)
24 BPP

[21] JPEG File Interchange Format, 4:1:1.

FILE_JPEG_422

8 BPP (Grayscale)
24 BPP

[21] JPEG File Interchange Format, 4:2:2.

FILE_JPEG_LAB

24 BPP

[171] JPEG File Interchange Format, CieLAB 4:4:4.

FILE_JPEG_LAB_411

24 BPP

[172] JPEG File Interchange Format, CieLAB 4:1:1.

FILE_JPEG_LAB_422

24 BPP

[173] JPEG File Interchange Format, CieLAB 4:2:2.

FILE_JPEG_RGB

24 BPP

[182] JPEG File Interchange Format, RGB 4:4:4.

FILE_JP2

8, 16 BPP (Grayscale)
24, 27, 30, 33, 36, 39, 42, 45, 48 BPP

[163] JPEG 2000 File.

FILE_J2K

8, 16 BPP (Grayscale)
24, 27, 30, 33, 36, 39, 42, 45, 48 BPP

[164] JPEG 2000 Stream.

FILE_CMW

8, 12, 16 BPP (Grayscale)
24 BPP

[165] LEAD Wavelet CMP compressed format.

 

Required DLL: For a listing of the exact DLLs needed, refer to ePrint Files.

Related Formats: EXIF - Exif Formats, FPX - Kodak Format, TIFF - Tagged Image File Format.