exif_parser v0.2.4 ExifParser.Header View Source

Tiff header parser. Parses the 8 byte TIFF header that provides the information needed to decode the TIFF tags.

Struct

identifier

The endianess of the binary file is given by the first 2 bytes of the header.

returns

:little | :big

version

In a valid parser and file, the second 2 bytes should correspond to the value 42.

The version is always 42. This is sanity check.

ifd_offset

The last 4 bytes of the header provide the offset to the first IFD.

Link to this section Summary

Functions

TIFF Header parser

Link to this section Functions

TIFF Header parser

This method parses the tiff header and returns the ExifParser.Header.