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.