Module Image.TIFF

Inheritance graph
"____Image_TIFF" Image.TIFF

Inherit "____Image_TIFF"

inherit "____Image_TIFF" : "____Image_TIFF"


Constant COMPRESSION_CCITTFAX3

constant Image.TIFF.COMPRESSION_CCITTFAX3


Constant COMPRESSION_CCITTFAX4

constant Image.TIFF.COMPRESSION_CCITTFAX4


Constant COMPRESSION_CCITTRLE

constant Image.TIFF.COMPRESSION_CCITTRLE


Constant COMPRESSION_CCITTRLEW

constant Image.TIFF.COMPRESSION_CCITTRLEW


Constant COMPRESSION_JPEG

constant Image.TIFF.COMPRESSION_JPEG


Constant COMPRESSION_LZW

constant Image.TIFF.COMPRESSION_LZW


Constant COMPRESSION_NEXT

constant Image.TIFF.COMPRESSION_NEXT


Constant COMPRESSION_NONE

constant Image.TIFF.COMPRESSION_NONE


Constant COMPRESSION_PACKBITS

constant Image.TIFF.COMPRESSION_PACKBITS


Constant COMPRESSION_THUNDERSCAN

constant Image.TIFF.COMPRESSION_THUNDERSCAN


Variable tiff_tags

mapping(int:mapping(string:mixed)) Image.TIFF.tiff_tags

Description

Defines TIFF tags to parse.

tag : mapping(string: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.