ImageGear for C and C++ on Windows v19.1 - Updated
EXIF-TIFF
User Guide > File Formats and Compressions > File Formats > File Formats Reference > EXIF-TIFF

Full Name Exchangeable image file format (EXIF-TIFF)
Format ID IG_FORMAT_EXIF_TIFF = 74
File Extension(s) *.tif, *.xif
Data Type Raster image
Data Encoding Binary
Color Profile Support Read, Write
Multi-Page Support No
Alpha Channel Support Read only
ImageGear Platforms Support WIN32, WIN64, Unix, Unix64, MAC

ImageGear Supported Versions:

ImageGear Supported Features:

ImageGear Read Support:

ImageGear Write Support:

ImageGear Filter Control Parameters:

Filter Control Parameter Type Default Value Available Values Description
SAVE_THUMBNAIL AT_BOOL TRUE TRUE, FALSE If TRUE the thumbnail will be saved with image.
THUMBNAIL_WIDTH UINT 160 Any positive value Gets/Sets thumbnail width. Actual dimensions of the saved thumbnail will be adjusted to fit into rectangle specified by the THUMBNAIL_WIDTH and THUMBNAIL_HEIGHT parameters, preserving the ratio of image width and height.
THUMBNAIL_HEIGHT UINT 120 Any positive value Gets/Sets thumbnail height. Actual dimensions of the saved thumbnail will be adjusted to fit into rectangle specified by the THUMBNAIL_WIDTH and THUMBNAIL_HEIGHT parameters, preserving the ratio of image width and height.

Comments

The EXIF file format is based on existing formats. There are two kind of EXIF format: compressed and uncompressed. Compressed EXIF is recorded in JPEG format with EXIF header saved in APP1 and APP2 marker segments. The APP2 segment is used when recording FlashPix extensions.

Uncompressed EXIF is recorded in TIFF Rev. 6.0 formats with two pages - the first is the main image, the second is a thumbnail (if it present). The EXIF header data is stored in TIFF 6.0 format for both compressed and uncompressed EXIF and include EXIF information (that is necessary) and GPS information (that is optional). Information specific to the camera system and not defined in TIFF is stored in private tags registered for EXIF. ImageGear EXIF support allows you to retrieve this information and send it to an application level and vice versa.

The EXIF image file specification also specifies the method for recording thumbnails. The reason for using the TIFF Rev. 6.0 tag format in the compressed file APP1 segment is to facilitate exchange of attribute data between EXIF compressed and uncompressed files.

Although the standard only allows uncompressed and JPEG-compressed EXIF images, and RGB color space, there are EXIF images that use other compressions and color spaces. In a sense, these images can be considered as JPEGs or TIFFs with additional EXIF metadata. ImageGear supports reading of such non-standard images, as well as writing of EXIF images with some non-standard compressions and color spaces.

According to specification, EXIF-TIFF is a single-page format. However, some applications produce "multipage EXIF-TIFF" files, which are actually multipage TIFF files with EXIF metadata attached to each page. If you need to read such files, consider disabling auto-detection of EXIF-TIFF format, using IG_fltr_detect_set. ImageGear will then read such files as TIFF, ignoring EXIF metadata.

References Used

Digital Still Camera Image File Format Standard (Exif) Version 2.0, Nov 1997, Japan Electronic Industry Development Association.

Digital Still Camera Image File Format Standard (Exif) Version 2.1, June 1998, Japan Electronic Industry Development Association.