Module Image.TIFF

Inheritance graph
____Image_TIFF Image.TIFF

Inherit "____Image_TIFF"

inherit "____Image_TIFF" : "____Image_TIFF"


Variable tiff_tags

private mapping(int:mapping(string:function(:void)|string|Type|array(Type))) Image.TIFF.tiff_tags

Description

Defines TIFF tags to parse.

tag : mapping(string:function(:void)|string|Type|array(Type))

For each supported TIFF tag the following information is kept:

"name" : string

Name of the tag. Currently only used to aid the programmer when reading the rules.

"type" : Type|array(Type)

Defines what types a tag can have.

"prop" : string|array(string)

The property name that the value of tag will be displayed as in the resulting mapping.

"fn" : function(:void)

Optional function to do processing on the tag value. Can return a single value or a mapping. If mapping, that mapping is added to the resulting mapping. Note that the first argument can either be an integer or a string.