Available in LEADTOOLS Imaging, Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Formats of Output Files
The following are valid values to specify the format of an output file. For more general descriptions of file formats, refer to Summary of All Supported Image File Formats.
JPEG and LEAD Compressed |
|
FILE_CMP |
LEAD Proprietary Compression Format. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_JPEG |
JPEG File Interchange Format with YUV 4:4:4 color space and Lossless. Bits per pixel: 8, 12, and 16 for grayscale, 24 for color. |
FILE_JPEG_422 |
JPEG File Interchange Format with YUV 4:2:2 color space. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_JPEG_411 |
JPEG File Interchange Format with YUV 4:1:1 color space. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_TIF_JPEG |
Tagged Image File with JPEG compression and YUV 4:4:4 color space and Lossless. Bits per pixel: 8, 12, and 16 for grayscale, 24 for color. |
FILE_TIF_JPEG_422 |
Tagged Image File with JPEG compression and YUV 4:2:2 color space. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_TIF_JPEG_411 |
Tagged Image File with JPEG compression and YUV 4:1:1 color space. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_JP2 |
JPEG 2000 Format. This file format contains image data and extra information about the contents and organization of the file. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_J2K |
JPEG 2000 Format. This file format contains only a stream of image data. Bits per pixel: 8, 12, and 16 for grayscale, 24 for color. (12 and 16-bit grayscale support available in Document/Medical Imaging toolkits only) J2K support required for this format. |
FILE_CMW |
LEAD Wavelet CMP Format. Bits per pixel: 8, 12, and 16 for grayscale, 24 for color. CMW support required for this format. |
FILE_JPEG_LAB |
JPEG File Interchange Format with CieLAB 4:4:4 color space and Lossless. |
FILE_JPEG_LAB_422 |
JPEG File Interchange Format with CieLAB 4:2:2 color space. |
FILE_JPEG_LAB_411 |
JPEG File Interchange Format with CieLAB 4:1:1 color space. |
GIF and TIFF with LZW Compression |
|
FILE_GIF |
CompuServe GIF. Bits per pixel: 1, 2, 3, 4, 5, 6, 7, 8. |
FILE_TIFLZW |
Tagged Image File with LZW Compression and RGB color space. Bits per pixel: 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64. (Supports multi-page) |
FILE_TIFLZW_CMYK |
Tagged Image File with LZW Compression and CMYK color space. Bits per pixel: 24, 32. (Supports multi-page) |
FILE_TIFLZW_YCC |
Tagged Image File with LZW Compression and YCbCr color space. Bits per pixel: 24. (Supports multi-page) |
TIFF Without LZW Compression |
|
FILE_TIF |
Tagged Image File Format, with no compresssion and with RGB color space. Bits per pixel: 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64. (12 and 16-bit grayscale Document/Medical Imaging editions only) (Supports multi-page) |
FILE_TIF_CMYK |
Tagged Image File, with no compresssion and with CMYK color space. Bits per pixel: 24, 32. (Supports multi-page) |
FILE_TIF_YCC |
Tagged Image File, with no compresssion and with YCbCr color space. Bits per pixel: 24. (Supports multi-page) |
FILE_TIF_PACKBITS |
Tagged Image File with PackBits Compression and RGB color space. Bits per pixel: 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32. (Supports multi-page) |
FILE_TIF_PACKBITS_CMYK |
Tagged Image File with PackBits Compression and CMYK color space. Bits per pixel: 24, 32. (Supports multi-page) |
FILE_TIF_PACKBITS_YCC |
Tagged Image File with PackBits Compression and YCbCr color space. Bits per pixel: 24. (Supports multi-page) |
FILE_TIF_CMP |
Tagged Image File with CMP Compression. Bits per pixel: 8 grayscale and 24 color. (Supports multi-page) |
FILE_TIF_JBIG |
Tagged Image File with JBIG Compression. Bits per pixel: 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32. (Supports multi-page) |
FILE_TIF_DXF |
Tagged Image File with a vector image saved as a DXF. Bits per pixel: 8. |
FILE_TIF_J2K |
Tagged Image File with JPEG 2000 Compression. This file format contains only a stream of image data. Bits per pixel: 8, 12, and 16 for grayscale, 24 for color. (12 and 16-bit grayscale support available in Document/Medical Imaging editions only) (Supports multi-page) J2K support required for this format. |
FILE_TIF_ABC |
Tagged Image File with ABC compression. (Supports multi-page). ABC support is required for this format. |
FILE_TIF_CMW |
Tagged Image File with Wavelet CMP Compression. Bits per pixel: 8, 12, and 16 for grayscale, 24 for color. (Supports multi-page) CMW support required for this format. |
BMP Formats |
|
FILE_BMP |
Windows BMP, with no compression. Bits per pixel: 1, 4, 8, 16, 24, 32. |
FILE_BMP_RLE |
Windows BMP, with RLE compression. Bits per pixel: 4, 8. |
FILE_OS2 |
OS/2 BMP version 1.x. Bits per pixel: 1, 4, 8, 24. |
FILE_OS2_2 |
OS/2 BMP version 2.x. Bits per pixel: 1, 4, 8, 24. |
Icons and Cursors |
|
FILE_WIN_ICO |
Windows icon file. Supports multi-page. Bits per pixel: 1, 4, 8, 24. |
FILE_WIN_CUR |
Windows cursor file. . Supports multi-page. Bits per pixel: 1, 4, 8, 24. |
FILE_ANI |
Windows Animated Cursor. Bits per pixel: 1, 4, 8, 24. |
Kodak Formats |
|
FILE_FPX |
FlashPix, with no compression. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_FPX_SINGLE_COLOR |
FlashPix, compressed with the single color method. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_FPX_JPEG |
FlashPix, compressed with JPEG, using the default Q factor. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_FPX_JPEG_QFACTOR |
FlashPix, compressed with JPEG, using a specified Q factor. Bits per pixel: 8 for grayscale, 24 for color. |
Exif Formats |
|
FILE_EXIF |
Exif file containing a TIFF image, with no compresssion and with RGB color space. Bits per pixel: 24. |
FILE_EXIF_YCC |
Exif file containing a TIFF image, with no compresssion and with YCbCr color space. Bits per pixel: 24. |
FILE_EXIF_JPEG |
Exif file containing a JPEG compressed image. Bits per pixel: 24 (color only). |
FILE_EXIF_JPEG_411 |
Exif 2.0 file containing a JPEG compressed image. Bits per pixel: 24 (color only). |
DICOM Formats |
|
FILE_DICOM_GRAY |
DICOM grayscale. Bits per pixel: 8, 16. |
FILE_DICOM_COLOR |
DICOM color (RGB). Bits per pixel: 8, 24. |
FILE_DICOM_RLE_GRAY |
DICOM grayscale – RLE compressed. Bits per pixel: 8, 16. |
FILE_DICOM_RLE_COLOR |
DICOM color – RLE compressed. Bits per pixel: 8, 24. |
FILE_DICOM_JPEG_GRAY |
DICOM gray – JPEG compressed. Bits per pixel: 8, 16. |
FILE_DICOM_JPEG_COLOR |
DICOM color – JPEG compressed. Bits per pixel: 8, 24. |
Other Color Formats |
|
FILE_PCX |
ZSoft PCX. Bits per pixel: 1, 4, 8, 24. |
FILE_WMF |
Windows Meta File. Bits per pixel: 8, 24. |
FILE_EMF |
Windows Enhanced Meta File. Bits per pixel:8, 24. |
FILE_XPM |
XPicmap File. Bits per pixel: 8, 16, 24, 32. |
FILE_IFF_ILBM |
Interchange File - RLE compressed. Bits per pixel: 1 - 8, 24. |
FILE_IFF_ILBM_UNCOMPRESSED |
Interchange File - Uncompressed. Bits per pixel: 1 - 8, 24. |
FILE_IFF_CAT |
Interchange File - multiple images per file-RLE Compressed. (Supports multi-page.) Bits per pixel: 1 - 8, 24. |
FILE_IFF_CAT_UNCOMPRESSED |
Interchange File - multiple images per file-Uncompressed. Bits per pixel: 1 - 8, 24. |
FILE_PGM_ASCII |
Portable Greymap - ASCII File. Bits per pixel: 8 (greyscale). |
FILE_PGM_BINARY |
Portable Greymap - Binary File. Bits per pixel: 8 (greyscale). |
FILE_PPM_ASCII |
Portable Pixelmap - ASCII File. Bits per pixel: 24 (True color). |
FILE_PPM_BINARY |
Portable Pixelmap - Binary File. Bits per pixel: 24 (True color). |
FILE_CUT |
Dr. Halo. Bits per pixel: 8. |
FILE_PSD |
Adobe Photoshop 3.0. Bits per pixel: 1, 8, 24. |
FILE_PNG |
Portable Network Graphics. Bits per pixel: 1, 4, 8, 24, 32. |
FILE_TGA |
TARGA. Bits per pixel: 8, 16, 24, 32. |
FILE_TGA_RLE |
TARGA with RLE compression. Bits per pixel: 8, 16, 24, 32. |
FILE_EPS |
Encapsulated PostScript. Bits per pixel: 8 grayscale (raster). |
FILE_RAS |
Sun Raster. Bits per pixel: 1, 4, 8, 24, 32. |
FILE_WPG |
Word Perfect. Bits per pixel: 1, 4, 8 (raster). |
FILE_PCT |
MacPict. Bits per pixel: 1, 4, 8, 24. |
FILE_AVI |
Windows AVI. Bits per pixel: 24. |
FILE_JBIG |
JBIG. Bits per pixel: 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32. |
FILE_CLP |
Microsoft Windows Clipboard. Bits per pixel:1, 4, 8, 24. |
FILE_XWD10 |
X Window Dump – version 10. Bits per pixel: 1, 4, 8. |
FILE_XWD11 |
X Window Dump – version 11. Bits per pixel: 1, 4, 8, 16, 24, 32. |
FILE_FLC |
Flic Animation. Bits per pixel: 8. |
FILE_SGI |
Silicon Graphics Image. Bits per pixel: 8, 24, 32. |
FILE_SGI_RLE |
Silicon Graphics Image. Bits per pixel: 8, 24, 32. |
FILE_RAW |
Raw uncompressed data. |
FILE_SCT |
Scitex Continuous Tone format. Bits per pixel: 24. |
PDF Formats |
|
FILE_RAS_PDF |
Raster PDF uncompressed. Bits per pixel:1,2,4,8, 24. |
FILE_RAS_PDF_G3_1D |
Raster PDF compressed using CCITT group 3, 1 dimension. Bits per pixel: 1. |
FILE_RAS_PDF_G3_2D |
Raster PDF compressed using CCITT group 3, 2 dimension. Bits per pixel: 1. |
FILE_RAS_PDF_G4 |
Raster PDF compressed using CCITT group 4. Bits per pixel: 1. |
FILE_RAS_PDF_LZW |
Raster PDF with LZW compression and RGB color space. Bits per pixel: 1, 2, 4, 8, and 24. |
FILE_RAS_PDF_JPEG |
Raster PDF with JPEG compression and YUV 4:4:4 color space Lossless. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_RAS_PDF_JPEG_422 |
Raster PDF with JPEG compression and YUV 4:2:2 color space. Bits per pixel: 8 for grayscale, 24 for color. |
FILE_RAS_PDF_JPEG_411 |
Raster PDF with JPEG compression and YUV 4:1:1 color space. Bits per pixel: 8 for grayscale, 24 for color. |
1-Bit FAX Formats |
|
FILE_LEAD1BIT |
LEAD Proprietary 1-bit Compression Format. |
FILE_CCITT |
TIFF, compressed using CCITT. (Supports multi-page) |
FILE_CCITT_GROUP3_1DIM |
TIFF, compressed using CCITT, group 3, 1 dimension. (Supports multi-page) |
FILE_CCITT_GROUP3_2DIM |
TIFF, compressed using CCITT, group 3, 2 dimensions. (Supports multi-page) |
FILE_CCITT_GROUP4 |
TIFF, compressed using CCITT, group 4. (Supports multi-page) |
FILE_FAX_G3_1D |
Raw FAX, compressed using CCITT group 3, 1 dimension. |
FILE_FAX_G3_2D |
Raw FAX, compressed using CCITT group 3, 2 dimensions. |
FILE_FAX_G4 |
Raw FAX, compressed using CCITT group 4. |
FILE_SFF |
Structured Fax File Format, group 3, version 1. (Supports multipage) |
FILE_WFX_G3_1D |
Winfax, compressed using CCITT group 3, 1 dimension. |
FILE_WFX_G4 |
Winfax, compressed using CCITT group 4. |
FILE_ICA_G3_1D |
IOCA, compressed using CCITT group 3, 1 dimension, with the MO:DCA wrapper. |
FILE_ICA_G3_2D |
IOCA, compressed using CCITT group 3, 2 dimensions, with the MO:DCA wrapper. |
FILE_ICA_G4 |
IOCA, compressed using CCITT group 4, with the MO:DCA wrapper. |
FILE_RAWICA_G3_1D |
IOCA, compressed using CCITT group 3, 1 dimension, without the MO:DCA wrapper. |
FILE_RAWICA_G3_2D |
IOCA, compressed using CCITT group 3, 2 dimensions, without the MO:DCA wrapper. |
FILE_RAWICA_G4 |
IOCA, compressed using CCITT group 4, without the MO:DCA wrapper. |
FILE_CALS |
CALS Raster file. |
FILE_CALS2 |
CALS CCITT G4 compressed. |
FILE_CALS3 |
CALS Fax Group 4 compressed. |
FILE_CALS4 |
CALS CCITT G4 Tiled. |
FILE_AWD |
Microsoft FAX format. |
FILE_ICA_IBM_MMR |
IOCA, compressed using IBM MMR, with the MO:DCA wrapper. |
FILE_ICA_UNCOMPRESSED |
IOCA, uncompressed, with the MO:DCA wrapper. |
FILE_RAWICA_IBM_MMR |
IOCA, compressed using IBM MMR, without the MO:DCA wrapper. |
FILE_RAWICA_UNCOMPRESSED |
IOCA, uncompressed, without the MO:DCA wrapper. |
Other 1-Bit Formats |
|
FILE_MAC |
MacPaint. |
FILE_MSP |
Microsoft Paint. |
FILE_PBM_ASCII |
Portable Bitmap - ASCII File. |
FILE_PBM_BINARY |
Portable Bitmap - Binary File. |
FILE_IMG |
GEM Image. |
FILE_INTERGRAPH_RLE |
ITG Intergraph RLE compressed file |
FILE_ABC |
ABC File. ABC support is required for this format. |
FILE_SMP |
Xionics format. |
FILE_SMP_G3_1D |
Xionics format, compressed using CCITT Group 3 1D. |
FILE_SMP_G3_2D |
Xionics format, compressed using CCITT Group 3 2D. |
FILE_SMP_G4 |
Xionics format, compressed using CCITT Group 4. |