[][src]Module tiff_encoder::ifd

Module to manipulate IFDs and their entries.

An image file directory (IFD) contains information about the image, as well as pointers to the actual image data (both stored as entries).

In a TIFF file, an IFD may point to another IFD with its last 4 bytes. To abstract the user of this crate from the position of each structure in the file, this link between Ifds is represented by an IfdChain. Because any IFD could technically point to a next one, in most functions that one would expect to input an Ifd, its parameters actually ask for an IfdChain.

Modules

tags

Constants for commonly used tags in TIFF files, baseline or extended.

types

Representations of TIFF field data types.

values

The values contained or pointed at by an IFD Field.

Structs

Ifd

A structure that holds both an IFD and all the values pointed at by its entries.

IfdChain

An ordered list of Ifds, each pointing to the next one.