Home  >  Article  >  What format is tif

What format is tif

青灯夜游
青灯夜游Original
2021-01-02 14:16:5810731browse

tif is a flexible bitmap format. tif is the extension of TIFF (Tagged Image File Format). It is one of the commonly used formats in graphics and image processing. It is mainly used to store images including photos and artistic drawings; TIFF, together with JPEG and PNG, has become a popular high-bit color image. Format.

What format is tif

#The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

tif is the extension of TIFF (Tagged Image File Format) and is a flexible bitmap format.

Tag Image File Format (TIFF) is a flexible bitmap format mainly used to store images including photos and artwork. It was originally developed by Aldus and Microsoft. PostScript printing development. TIFF joins JPEG and PNG as a popular high-bit color image format.

The TIFF format is widely supported in the industry, such as Adobe's Photoshop, The GIMP Team's GIMP, Ulead PhotoImpact and Paint Shop Pro and other image processing applications, desktop printing and page layout such as QuarkXPress and Adobe InDesign Applications such as scanning, faxing, word processing, optical character recognition and other applications all support this format.

Adobe, which acquired the PageMaker printing application from Aldus, controls the TIFF specification.

TIFF was originally designed for desktop scanner manufacturers in the mid-1980s to achieve a common unified scan image file format, rather than each manufacturer using its own proprietary format. At the beginning, TIFF was just a binary image format because desktop scanners at the time could only handle this format. As scanners became more powerful and computers took up more disk space, TIFF gradually Both grayscale and color images are supported.

Structure Overview

TIFF files have a .tif extension. Its data format is a three-level architecture. The internal structure of Ti can be divided into three parts: file header information area, identification information area and image data area. All tags are arranged in ascending order, and these tag information are used to process image information in the file.

File header

The first data structure in each TIFF file is called the image file header or IFH, which is the highest level of the image file architecture. This structure is unique in a TIFF file and has a fixed location. It is located at the beginning of the file and contains the necessary information needed to correctly interpret the rest of the TIFF file.

File directory

IFD is the second data structure in the TIFF file. It is a table named tag that is used to distinguish one or more variable-length data blocks. The markup contains all the information about the image. IFD provides a series of pointers (indexes) that tell us the starting positions of various relevant data fields in the file, and give the data type and length of each field. This approach allows data fields to be positioned anywhere in the file and of any length, making the file format very flexible.

Image data

Store relevant image information according to the address pointed to by IFD.

The above is the detailed content of What format is tif. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn