Imagine Toolkit

ERDAS IMAGINE, the world’s leading geospatial data authoring system, supplies tools for all your Remote Sensing and Photogrammetry needs.
Showing results for 
Search instead for 
Do you mean 

tiffFileTitleIdentifyAndOpen IFD Implementation

by Technical Evangelist on ‎10-01-2015 12:17 PM - edited on ‎03-29-2016 11:07 AM by Anonymous (1,169 Views)

IFD Implementation



The tiffFileTitleIdentifyAndOpen function identifies, opens, and creates TIFF files.

Identification of a TIFF file is based on determining if the file specified begins with the magic number of a TIFF file. This magic number is either "MM/000/052" or "II/052/000".

The tiffFileTitleIdentifyAndOpen function uses the etif_Open function to open a TIFF file.

The XTIFFOpen is used directly to create a TIFF file.

Because the TIFF file format and its supporting public domain libraries are not geared toward editing, when a TIFF file is opened for creation or modification, most auxiliary information is cached in memory and raster data is dumped to a temporary file in IMG file format. Writing of the TIFF file actually takes place when the file is closed.