TIFF (Tagged Image File Format)
TIFF is a tag-based file format designed to promote universal interchanges of digital image data. Because TIFF files do not have a single way to store image data, there are many versions of TIFF. LEADTOOLS supports the most common TIFF formats. The usual file extension is TIFF for single-image files, and MPT for multipage files (which can contain many images). TIFF files can contain many comment fields of various types. You can use the ReadComment method to read comments in an existing file. Before writing a file, you can use the Comments property to set an array of comments to be saved in the file.
LEAD supports loading and saving multi-page files in this format.
LEADTOOLS can read and write TIFF files that use RGB, CMYK, or YCbCr color space. LEADTOOLS can also read and write files with PackBits compression.
LEADTOOLS can also read and write files with Lossless JPEG compression for 8, 12, and 16-bit grayscale and 24-bit color spacing.
You can read and write 12- bit grayscale. (Document/Medical toolkits only)
You can read and write 16- bit grayscale. (Document/Medical toolkits only)
Regions are saved automatically inside TIFF files. For more information, refer to Saving a Region. Note, however, that the ability to save a region inside a TIFF file must be unlocked. This requires a Document Imaging or Medical Imaging toolkit.
Only TIFF and DICOM file formats are capable of saving images that have been window-leveled. Images can be window-leveled by using WindowLevel and specifying RasterWindowLevelMode.PaintAndProcessing for the flags parameter or by loading an image from a file format that supports window-leveling. If a window-leveled image is saved as any other file format, the image data will be converted before being saved. For more information, refer to Saving Window-Leveled Images.
The file constants associated with this file format are:
Constant | Read Support | Write Support | Description |
Tif | 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64 BPP | 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64 BPP |
Tagged Image File Format, with no compression and with RGB color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifAbic | 1, 4 BPP | 1, 4 BPP |
Tagged Image File Format, with ABIC compression and with RGB color space.
Platforms: .NET 2/3, .NET 4 |
TifCmyk | 24, 32 BPP | 24, 32 BPP |
Tagged Image File Format, with no compression and with CMYK color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifYcc | 24 BPP | 24 BPP |
Tagged Image File Format, with no compression and with YCbCr color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifPackbits | 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32 BPP | 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32 BPP |
Tagged Image File Format with PackBits Compression and RGB color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifPackbitsCmyk | 24, 32 BPP | 24, 32 BPP |
Tagged Image File Format with PackBits Compression and CMYK color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifPackbitsYcc | 24 BPP | 24 BPP |
Tagged Image File Format with PackBits Compression and color YCbCr space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifLzw | 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64 BPP | 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64 BPP |
Tagged Image File Format with LZW Compression and RGB color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifLzwCmyk | 24, 32 BPP | 24, 32 BPP |
Tagged Image File Format with LZW Compression and CMYK color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifLzwYcc | 24 BPP | 24 BPP |
Tagged Image File Format with LZW Compression and YCbCr color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifJpeg | 8, 12 16 BPP (Grayscale) 24 BPP | 8, 12 16 BPP (Grayscale) 24 BPP |
Tagged Image File Format with JPEG compression and YUV 4:4:4 color space Lossless.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifJpeg422 | 8 BPP (Grayscale) 24 BPP | 8 BPP (Grayscale) 24 BPP |
Tagged Image File Format with JPEG compression and YUV 4:2:2 color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifJpeg411 | 8 BPP (Grayscale) 24 BPP | 8 BPP (Grayscale) 24 BPP |
Tagged Image File Format with JPEG compression and YUV 4:1:1 color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifCmp | 8 BPP (Grayscale) 24 BPP | 8 BPP (Grayscale) 24 BPP |
Tagged Image File Format with CMP Compression.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifJbig | 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32 BPP | 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32 BPP |
Tagged Image File Format with JBIG Compression.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifJbig2 | 1 BPP | 1 BPP |
Tagged Image File Format with JBIG2 Compression.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifJ2k | 8, 12, 16 BPP (Grayscale) 24 BPP | 8, 12, 16 BPP (Grayscale) 24 BPP |
Tagged Image File Format with JPEG 2000 Compression. This file format contains only a stream of image data.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifCmw | 8, 12, 16 BPP (Grayscale) 24 BPP | 8, 12, 16 BPP (Grayscale) 24 BPP |
Tagged Image File Format with Wavelet CMP Compression.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
GeoTiff | 1, 2, 3, 4, 5, 6, 7, 8, 16 BPP (Grayscale), 24, 32, 48, 64 BPP | 1, 2, 3, 4, 5, 6, 7, 8, 16 BPP (Grayscale), 24, 32, 48, 64 BPP |
GeoTIFF file format.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
Exif | 24 BPP | 24 BPP |
Exif file containing a TIFF image, with no compression and with RGB color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
ExifYcc | 24 BPP | 24 BPP |
Exif file containing a TIFF image, with no compression and with YCbCr color space.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
ExifJpeg422 | 24 BPP | 24 BPP |
Exif file containing a JPEG compressed image.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
ExifJpeg411 | 24 BPP | 24 BPP |
Exif 2.0 file containing a JPEG compressed image.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
Ccitt | 1 BPP | 1 BPP |
Tagged Image File Format, compressed using CCITT.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
CcittGroup31Dim | 1 BPP | 1 BPP |
Tagged Image File Format, compressed using CCITT, group 3, 1 dimension.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
CcittGroup32Dim | 1 BPP | 1 BPP |
Tagged Image File Format, compressed using CCITT, group 3, 2 dimensions.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
CcittGroup4 | 1 BPP | 1 BPP |
Tagged Image File Format, compressed using CCITT, group 4.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifUnknown | NA | NA |
Tagged Image File Format, with unknown compression.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
TifAbc | 1 BPP | 1 BPP |
Tagged Image File Format with ABC compression.
Platforms: .NET 2/3, .NET 4 |
TifMrc | 24 BPP | 24 BPP |
Tagged Image File Format with MRC compression.
Platforms: .NET 2/3, .NET 4 |
TifLeadMrc | 24 BPP | 24 BPP |
Tagged Image File Format with LEAD MRC compression.
Platforms: .NET 2/3, .NET 4 |
TifZip | 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32 BPP | None |
Tagged Image File Format with ZIP compression.
Platforms: .NET 2/3, .NET 4, Silverlight, Silverlight Windows Phone 7 |
Required DLL: Leadtools.Codecs.Tif.Dll. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application .
For loading or saving CMYK files or LAB color space files, you will also need Leadtools.ColorConversion.dll.
Related Formats: CMP - LEAD Compressed, CMP - LEAD 1-Bit Format, EXIF - Exif Formats, JPG - JPEG Compressed, JP2 - JPEG 2000 Compressed, TIFX - Xerox Internet Fax File Format, LEADTOOLS ABC Compression.