tiff_encoder/ifd/mod.rs
1//! Module to manipulate IFDs and their entries.
2//!
3//! An image file directory (IFD) contains information about the image, as
4//! well as pointers to the actual image data (both stored as entries).
5//!
6//! In a TIFF file, an IFD may point to another IFD with its last 4
7//! bytes. To abstract the user of this crate from the position of each
8//! structure in the file, this link between [`Ifd`]s is represented by
9//! an [`IfdChain`]. Because any IFD could technically point to a next
10//! one, in most functions that one would expect to input an `Ifd`, its
11//! parameters actually ask for an `IfdChain`.
12//!
13//! [`IfdChain`]: struct.IfdChain.html
14//! [`Ifd`]: struct.Ifd.html
15
16pub mod tags;
17pub mod types;
18pub mod values;
19
20mod ifd;
21pub use ifd::*;