module Tiff

Defined in:

alias.cr
macro_constants.cr

Constant Summary

DESCRIPTIONS = [{"name" => ["new", "subfile", "type"], "tag" => 254, "type" => ["LONG"], "count" => 1, "default" => 0}, {"name" => ["subfile", "type"], "tag" => 255, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["image", "width"], "tag" => 256, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["image", "length"], "tag" => 257, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["bits", "per", "sample"], "tag" => 258, "type" => ["SHORT"], "count" => 'N', "default" => 1}, {"name" => ["compression"], "tag" => 259, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["photometric", "interpretation"], "tag" => 262, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["threshholding"], "tag" => 263, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["cell", "width"], "tag" => 264, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["cell", "length"], "tag" => 265, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["fill", "order"], "tag" => 266, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["document", "name"], "tag" => 269, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["image", "description"], "tag" => 270, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["make"], "tag" => 271, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["model"], "tag" => 272, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["strip", "offsets"], "tag" => 273, "type" => ["SHORT", "LONG"], "count" => 'N', "default" => nil}, {"name" => ["orientation"], "tag" => 274, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["samples", "per", "pixel"], "tag" => 277, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["rows", "per", "strip"], "tag" => 278, "type" => ["SHORT", "LONG"], "count" => 1, "default" => 4294967295_i64}, {"name" => ["strip", "byte", "counts"], "tag" => 279, "type" => ["SHORT", "LONG"], "count" => 'N', "default" => nil}, {"name" => ["min", "sample", "value"], "tag" => 280, "type" => ["SHORT"], "count" => 'N', "default" => 0}, {"name" => ["max", "sample", "value"], "tag" => 281, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["x", "resolution"], "tag" => 282, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["y", "resolution"], "tag" => 283, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["planar", "configuration"], "tag" => 284, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["page", "name"], "tag" => 285, "type" => ["ASCII"], "dount" => 'N', "default" => nil}, {"name" => ["x", "position"], "tag" => 286, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["y", "position"], "tag" => 287, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["free", "offsets"], "tag" => 288, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["free", "byte", "counts"], "tag" => 289, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["gray", "response", "unit"], "tag" => 290, "type" => ["SHORT"], "count" => 1, "default" => 2}, {"name" => ["gray", "response", "curve"], "tag" => 291, "type" => ["SHORT"], "count" => nil, "default" => nil}, {"name" => ["t4", "options"], "tag" => 292, "type" => ["LONG"], "count" => 1, "default" => 0}, {"name" => ["t6", "options"], "tag" => 293, "type" => ["LONG"], "count" => 1, "default" => 0}, {"name" => ["resolution", "unit"], "tag" => 296, "type" => ["SHORT"], "count" => 1, "default" => 2}, {"name" => ["page", "number"], "tag" => 297, "type" => ["SHORT"], "count" => 2, "default" => nil}, {"name" => ["software"], "tag" => 305, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["date", "time"], "tag" => 306, "type" => ["ASCII"], "count" => 20, "default" => nil}, {"name" => ["artist"], "tag" => 315, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["host", "computer"], "tag" => 316, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["predictor"], "tag" => 317, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["white", "point"], "tag" => 318, "type" => ["RATIONAL"], "count" => 2, "default" => nil}, {"name" => ["primary", "chromaticities"], "tag" => 319, "type" => ["RATIONAL"], "count" => 6, "default" => nil}, {"name" => ["color", "map"], "tag" => 320, "type" => ["SHORT"], "count" => nil, "default" => nil}, {"name" => ["halftone", "hints"], "tag" => 321, "type" => ["SHORT"], "count" => 2, "default" => nil}, {"name" => ["tile", "width"], "tag" => 322, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["tile", "length"], "tag" => 323, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["tile", "offsets"], "tag" => 324, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["tile", "byte", "counts"], "tag" => 325, "type" => ["SHORT", "LONG"], "count" => 'N', "default" => nil}, {"name" => ["bad", "fax", "lines"], "tag" => 326, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["clean", "fax", "data"], "tag" => 327, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["consecutive", "bad", "fax", "lines"], "tag" => 328, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["ink", "set"], "tag" => 332, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["ink", "names"], "tag" => 333, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["number", "of", "inks"], "tag" => 334, "type" => ["SHORT"], "count" => 1, "default" => 4}, {"name" => ["target", "printer"], "tag" => 337, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["extra", "samples"], "tag" => 338, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["sample", "format"], "tag" => 339, "type" => ["SHORT"], "count" => 'N', "default" => 1}, {"name" => ["transfer", "range"], "tag" => 342, "type" => ["SHORT"], "count" => 6, "default" => nil}, {"name" => ["clip", "path"], "tag" => 343, "type" => ["BYTE"], "count" => 'N', "default" => nil}, {"name" => ["x", "clip", "path", "units"], "tag" => 344, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["y", "clip", "path", "units"], "tag" => 345, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["indexed"], "tag" => 346, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["jpeg", "tables"], "tag" => 347, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["opi", "proxy"], "tag" => 351, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["profile", "type"], "tag" => 401, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["fax", "profile"], "tag" => 402, "type" => ["BYTE"], "count" => 1, "default" => nil}, {"name" => ["coding", "methods"], "tag" => 403, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["version", "year"], "tag" => 404, "type" => ["BYTE"], "count" => 4, "default" => nil}, {"name" => ["mode", "number"], "tag" => 405, "type" => ["BYTE"], "count" => 1, "default" => nil}, {"name" => ["jpeg", "interchange", "format"], "tag" => 513, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["jpeg", "interchange", "format", "length"], "tag" => 514, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["jpeg", "restart", "interval"], "tag" => 515, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["jpeg", "lossless", "predictors"], "tag" => 517, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["jpeg", "point", "transforms"], "tag" => 518, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["jpeg", "q", "tables"], "tag" => 519, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["jpeg", "dc", "tables"], "tag" => 520, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["jpeg", "ac", "tables"], "tag" => 521, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["y", "cb", "cr", "coefficients"], "tag" => 529, "type" => ["RATIONAL"], "count" => 3, "default" => [(299 / 1000), (587 / 1000), (114 / 1000)]}, {"name" => ["y", "cb", "cr", "sub", "Sampling"], "tag" => 530, "type" => ["SHORT"], "count" => 2, "default" => [2, 2]}, {"name" => ["y", "cb", "cr", "positioning"], "tag" => 531, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["reference", "black", "white"], "tag" => 532, "type" => ["RATIONAL"], "count" => 6, "default" => nil}, {"name" => ["strip", "row", "counts"], "tag" => 559, "type" => ["LONG"], "count" => 'N', "default" => nil}, {"name" => ["xmp"], "tag" => 700, "type" => ["BYTE"], "count" => 'N', "default" => nil}, {"name" => ["image", "id"], "tag" => 32781, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["wang", "annotation"], "tag" => 32932, "type" => ["BYTE"], "count" => 'N', "default" => nil}, {"name" => ["copyright"], "tag" => 33432, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["exposure", "time"], "tag" => 33434, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["f", "number"], "tag" => 33437, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["md", "file", "tag"], "tag" => 33445, "type" => ["LONG"], "count" => 1, "default" => 128}, {"name" => ["md", "scale", "pixel"], "tag" => 33446, "type" => ["RATIONAL"], "count" => 1, "default" => 1}, {"name" => ["md", "color", "table"], "tag" => 33447, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["md", "lab", "name"], "tag" => 33448, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["md", "sample", "info"], "tag" => 33449, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["md", "prep", "date"], "tag" => 33450, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["md", "prep", "time"], "tag" => 33451, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["md", "file", "units"], "tag" => 33452, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["model", "pixel", "scale", "tag"], "tag" => 33550, "type" => ["DOUBLE"], "count" => 3, "default" => nil}, {"name" => ["iptc", "naa"], "tag" => 33723, "type" => ["UNDEFINED", "BYTE"], "count" => 'N', "default" => nil}, {"name" => ["ingr", "packet", "data", "tag"], "tag" => 33918, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["ingr", "flag", "registers"], "tag" => 33919, "type" => ["LONG"], "count" => 16, "default" => nil}, {"name" => ["iras", "b", "transformation", "matrix"], "tag" => 33920, "type" => ["DOUBLE"], "count" => 17, "default" => nil}, {"name" => ["model", "tiepoint", "tag"], "tag" => 33922, "type" => ["DOUBLE"], "count" => 'N', "default" => nil}, {"name" => ["model", "transformation", "tag"], "tag" => 34264, "type" => ["DOUBLE"], "count" => 16, "default" => nil}, {"name" => ["photoshop"], "tag" => 34377, "type" => ["BYTE"], "count" => 'N', "default" => nil}, {"name" => ["exif", "ifd"], "tag" => 34665, "type" => ["LONG", "IFD"], "count" => 1, "default" => nil}, {"name" => ["inter", "color", "profile"], "tag" => 34675, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["image", "layer"], "tag" => 34732, "type" => ["SHORT", "LONG"], "count" => 2, "default" => nil}, {"name" => ["geo", "key", "directory", "tag"], "tag" => 34735, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["geo", "double", "params", "tag"], "tag" => 34736, "type" => ["DOUBLE"], "count" => 'N', "default" => nil}, {"name" => ["geo", "ascii", "params", "tag"], "tag" => 34737, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["exposure", "program"], "tag" => 34850, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["spectral", "sensitivity"], "tag" => 34852, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["gps", "info"], "tag" => 34853, "type" => ["LONG", "IFD"], "count" => 1, "default" => nil}, {"name" => ["iso", "speed", "ratings"], "tag" => 34855, "type" => ["SHORT"], "count" => 'N', "default" => nil}, {"name" => ["oecf"], "tag" => 34856, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["hyla", "fax", "fax", "recv", "params"], "tag" => 34908, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["hyla", "fax", "fax", "sub", "address"], "tag" => 34909, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["hyla", "fax", "fax", "recv", "time"], "tag" => 34910, "type" => ["LONG"], "count" => 1, "default" => nil}, {"name" => ["exif", "version"], "tag" => 36864, "type" => ["UNDEFINED"], "count" => 4, "default" => [48, 50, 50, 48]}, {"name" => ["date", "time", "original"], "tag" => 36867, "type" => ["ASCII"], "count" => 20, "default" => nil}, {"name" => ["date", "time", "digitized"], "tag" => 36868, "type" => ["ASCII"], "count" => 20, "default" => nil}, {"name" => ["components", "configuration"], "tag" => 37121, "type" => ["UNDEFINED"], "count" => 4, "default" => [4, 5, 6, 0]}, {"name" => ["compressed", "bits", "per", "pixel"], "tag" => 37122, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["shutter", "speed", "value"], "tag" => 37377, "type" => ["SRATIONAL"], "count" => 1, "default" => nil}, {"name" => ["aperture", "value"], "tag" => 37378, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["frightness", "value"], "tag" => 37379, "type" => ["SRATIONAL"], "count" => 1, "default" => nil}, {"name" => ["exposure", "bias", "value"], "tag" => 37380, "type" => ["SRATIONAL"], "count" => 1, "default" => nil}, {"name" => ["max", "aperture", "value"], "tag" => 37381, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["subject", "distance"], "tag" => 37382, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["metering", "mode"], "tag" => 37383, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["light", "source"], "tag" => 37384, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["flash"], "tag" => 37385, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["focal", "length"], "tag" => 37386, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["subject", "area"], "tag" => 37396, "type" => ["SHORT"], "count" => [2, 3, 4], "default" => nil}, {"name" => ["maker", "note"], "tag" => 37500, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["user", "comment"], "tag" => 37510, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["subsec", "time"], "tag" => 37520, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["subsec", "time", "original"], "tag" => 37521, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["subsec", "time", "digitized"], "tag" => 37522, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["image", "source", "data"], "tag" => 37724, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["flashpix", "version"], "tag" => 40960, "type" => ["UNDEFINED"], "count" => 4, "default" => [48, 49, 48, 48]}, {"name" => ["color", "space"], "tag" => 40961, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["pixel", "x", "dimension"], "tag" => 40962, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["pixel", "y", "dimension"], "tag" => 40963, "type" => ["SHORT", "LONG"], "count" => 1, "default" => nil}, {"name" => ["related", "sound", "file"], "tag" => 40964, "type" => ["ASCII"], "count" => 13, "default" => nil}, {"name" => ["flash", "energy"], "tag" => 41483, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["spatial", "frequency", "response"], "tag" => 41484, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["focal", "plane", "x", "resolution"], "tag" => 41486, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["focal", "plane", "y", "resolution"], "tag" => 41487, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["focal", "plane", "resolution", "unit"], "tag" => 41488, "type" => ["SHORT"], "count" => 1, "default" => 2}, {"name" => ["subject", "location"], "tag" => 41492, "type" => ["SHORT"], "count" => 2, "default" => nil}, {"name" => ["exposure", "index"], "tag" => 41493, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["sensing", "method"], "tag" => 41495, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["file", "source"], "tag" => 41728, "type" => ["UNDEFINED"], "count" => 1, "default" => 3}, {"name" => ["scene", "type"], "tag" => 41729, "type" => ["UNDEFINED"], "count" => 1, "default" => 1}, {"name" => ["cfa", "pattern"], "tag" => 41730, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["custom", "rendered"], "tag" => 41985, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["exposure", "mode"], "tag" => 41986, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["white", "balance"], "tag" => 41987, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["digital", "zoom", "ratio"], "tag" => 41988, "type" => ["RATIONAL"], "count" => 1, "default" => nil}, {"name" => ["focal", "length", "in", "35mm", "film"], "tag" => 41989, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["scene", "capture", "type"], "tag" => 41990, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["gain", "control"], "tag" => 41991, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["contrast"], "tag" => 41992, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["saturation"], "tag" => 41993, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["sharpness"], "tag" => 41994, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["device", "setting", "description"], "tag" => 41995, "type" => ["UNDEFINED"], "count" => 'N', "default" => nil}, {"name" => ["subject", "distance", "range"], "tag" => 41996, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["image", "unique", "id"], "tag" => 42016, "type" => ["ASCII"], "count" => 33, "default" => nil}, {"name" => ["gdal", "metadata"], "tag" => 42112, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["gdal", "nodata"], "tag" => 42113, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["oce", "scanjob", "description"], "tag" => 50215, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["oce", "application", "selector"], "tag" => 50216, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["oce", "identification", "number"], "tag" => 50217, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["oce", "image", "logic", "characteristics"], "tag" => 50218, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["dng", "version"], "tag" => 50706, "type" => ["BYTE"], "count" => 4, "default" => nil}, {"name" => ["unique", "camera", "model"], "tag" => 50708, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["cfa", "layout"], "tag" => 50711, "type" => ["SHORT"], "count" => 1, "default" => 1}, {"name" => ["black", "level", "repeat", "dim"], "tag" => 50713, "type" => ["SHORT"], "count" => 2, "default" => [1, 1]}, {"name" => ["default", "scale"], "tag" => 50718, "type" => ["RATIONAL"], "count" => 2, "default" => [1.0, 1.0]}, {"name" => ["default", "crop", "origin"], "tag" => 50719, "type" => ["SHORT", "LONG", "RATIONAL"], "count" => 2, "default" => [0, 0]}, {"name" => ["as", "shot", "white", "xy"], "tag" => 50729, "type" => ["RATIONAL"], "count" => 2, "default" => nil}, {"name" => ["baseline", "exposure"], "tag" => 50730, "type" => ["SRATIONAL"], "count" => 1, "default" => 0.0}, {"name" => ["baseline", "noise"], "tag" => 50731, "type" => ["RATIONAL"], "count" => 1, "default" => 1.0}, {"name" => ["baseline", "sharpness"], "tag" => 50732, "type" => ["RATIONAL"], "count" => 1, "default" => 1.0}, {"name" => ["bayer", "green", "split"], "tag" => 50733, "type" => ["LONG"], "count" => 1, "default" => 0}, {"name" => ["linear", "response", "limit"], "tag" => 50734, "type" => ["RATIONAL"], "count" => 1, "default" => 1.0}, {"name" => ["camera", "serial", "number"], "tag" => 50735, "type" => ["ASCII"], "count" => 'N', "default" => nil}, {"name" => ["lens", "info"], "tag" => 50736, "type" => ["RATIONAL"], "count" => 4, "default" => nil}, {"name" => ["anti", "alias", "strength"], "tag" => 50738, "type" => ["RATIONAL"], "count" => 1, "default" => 1.0}, {"name" => ["dng", "private", "data"], "tag" => 50740, "type" => ["BYTE"], "count" => 'N', "default" => nil}, {"name" => ["maker", "note", "safety"], "tag" => 50741, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["calibration", "illuminant", "1"], "tag" => 50778, "type" => ["SHORT"], "count" => 1, "default" => 0}, {"name" => ["calibration", "illuminant", "2"], "tag" => 50779, "type" => ["SHORT"], "count" => 1, "default" => nil}, {"name" => ["best", "quality", "scale"], "tag" => 50780, "type" => ["RATIONAL"], "count" => 1, "default" => 1.0}, {"name" => ["alias", "layer", "metadata"], "tag" => 50784, "type" => ["ASCII"], "count" => 'N', "default" => nil}]
INTEL_BYTE_ORDER = Bytes.new("II".to_unsafe.as(Pointer(UInt8)), 2)
MOTOROLA_BYTE_ORDER = Bytes.new("MM".to_unsafe.as(Pointer(UInt8)), 2)
TAG_ALIAS_LAYER_METADATA = 50784_u16
TAG_ANTI_ALIAS_STRENGTH = 50738_u16
TAG_APERTURE_VALUE = 37378_u16
TAG_ARTIST = 315_u16
TAG_AS_SHOT_WHITE_XY = 50729_u16
TAG_BAD_FAX_LINES = 326_u16
TAG_BASELINE_EXPOSURE = 50730_u16
TAG_BASELINE_NOISE = 50731_u16
TAG_BASELINE_SHARPNESS = 50732_u16
TAG_BAYER_GREEN_SPLIT = 50733_u16
TAG_BEST_QUALITY_SCALE = 50780_u16
TAG_BITS_PER_SAMPLE = 258_u16
TAG_BLACK_LEVEL_REPEAT_DIM = 50713_u16
TAG_CALIBRATION_ILLUMINANT_1 = 50778_u16
TAG_CALIBRATION_ILLUMINANT_2 = 50779_u16
TAG_CAMERA_SERIAL_NUMBER = 50735_u16
TAG_CELL_LENGTH = 265_u16
TAG_CELL_WIDTH = 264_u16
TAG_CFA_LAYOUT = 50711_u16
TAG_CFA_PATTERN = 41730_u16
TAG_CLEAN_FAX_DATA = 327_u16
TAG_CLIP_PATH = 343_u16
TAG_CODING_METHODS = 403_u16
TAG_COLOR_MAP = 320_u16
TAG_COLOR_SPACE = 40961_u16
TAG_COMPONENTS_CONFIGURATION = 37121_u16
TAG_COMPRESSED_BITS_PER_PIXEL = 37122_u16
TAG_COMPRESSION = 259_u16
TAG_CONSECUTIVE_BAD_FAX_LINES = 328_u16
TAG_CONTRAST = 41992_u16
TAG_COPYRIGHT = 33432_u16
TAG_CUSTOM_RENDERED = 41985_u16
TAG_DATE_TIME = 306_u16
TAG_DATE_TIME_DIGITIZED = 36868_u16
TAG_DATE_TIME_ORIGINAL = 36867_u16
TAG_DEFAULT_CROP_ORIGIN = 50719_u16
TAG_DEFAULT_SCALE = 50718_u16
TAG_DEVICE_SETTING_DESCRIPTION = 41995_u16
TAG_DIGITAL_ZOOM_RATIO = 41988_u16
TAG_DNG_PRIVATE_DATA = 50740_u16
TAG_DNG_VERSION = 50706_u16
TAG_DOCUMENT_NAME = 269_u16
TAG_EXIF_IFD = 34665_u16
TAG_EXIF_VERSION = 36864_u16
TAG_EXPOSURE_BIAS_VALUE = 37380_u16
TAG_EXPOSURE_INDEX = 41493_u16
TAG_EXPOSURE_MODE = 41986_u16
TAG_EXPOSURE_PROGRAM = 34850_u16
TAG_EXPOSURE_TIME = 33434_u16
TAG_EXTRA_SAMPLES = 338_u16
TAG_F_NUMBER = 33437_u16
TAG_FAX_PROFILE = 402_u16
TAG_FILE_SOURCE = 41728_u16
TAG_FILL_ORDER = 266_u16
TAG_FLASH = 37385_u16
TAG_FLASH_ENERGY = 41483_u16
TAG_FLASHPIX_VERSION = 40960_u16
TAG_FOCAL_LENGTH = 37386_u16
TAG_FOCAL_LENGTH_IN_35MM_FILM = 41989_u16
TAG_FOCAL_PLANE_RESOLUTION_UNIT = 41488_u16
TAG_FOCAL_PLANE_X_RESOLUTION = 41486_u16
TAG_FOCAL_PLANE_Y_RESOLUTION = 41487_u16
TAG_FREE_BYTE_COUNTS = 289_u16
TAG_FREE_OFFSETS = 288_u16
TAG_FRIGHTNESS_VALUE = 37379_u16
TAG_GAIN_CONTROL = 41991_u16
TAG_GDAL_METADATA = 42112_u16
TAG_GDAL_NODATA = 42113_u16
TAG_GEO_ASCII_PARAMS_TAG = 34737_u16
TAG_GEO_DOUBLE_PARAMS_TAG = 34736_u16
TAG_GEO_KEY_DIRECTORY_TAG = 34735_u16
TAG_GPS_INFO = 34853_u16
TAG_GRAY_RESPONSE_CURVE = 291_u16
TAG_GRAY_RESPONSE_UNIT = 290_u16
TAG_HALFTONE_HINTS = 321_u16
TAG_HOST_COMPUTER = 316_u16
TAG_HYLA_FAX_FAX_RECV_PARAMS = 34908_u16
TAG_HYLA_FAX_FAX_RECV_TIME = 34910_u16
TAG_HYLA_FAX_FAX_SUB_ADDRESS = 34909_u16
TAG_IMAGE_DESCRIPTION = 270_u16
TAG_IMAGE_ID = 32781_u16
TAG_IMAGE_LAYER = 34732_u16
TAG_IMAGE_LENGTH = 257_u16
TAG_IMAGE_SOURCE_DATA = 37724_u16
TAG_IMAGE_UNIQUE_ID = 42016_u16
TAG_IMAGE_WIDTH = 256_u16
TAG_INDEXED = 346_u16
TAG_INGR_FLAG_REGISTERS = 33919_u16
TAG_INGR_PACKET_DATA_TAG = 33918_u16
TAG_INK_NAMES = 333_u16
TAG_INK_SET = 332_u16
TAG_INTER_COLOR_PROFILE = 34675_u16
TAG_IPTC_NAA = 33723_u16
TAG_IRAS_B_TRANSFORMATION_MATRIX = 33920_u16
TAG_ISO_SPEED_RATINGS = 34855_u16
TAG_JPEG_AC_TABLES = 521_u16
TAG_JPEG_DC_TABLES = 520_u16
TAG_JPEG_INTERCHANGE_FORMAT = 513_u16
TAG_JPEG_INTERCHANGE_FORMAT_LENGTH = 514_u16
TAG_JPEG_LOSSLESS_PREDICTORS = 517_u16
TAG_JPEG_POINT_TRANSFORMS = 518_u16
TAG_JPEG_Q_TABLES = 519_u16
TAG_JPEG_RESTART_INTERVAL = 515_u16
TAG_JPEG_TABLES = 347_u16
TAG_LENS_INFO = 50736_u16
TAG_LIGHT_SOURCE = 37384_u16
TAG_LINEAR_RESPONSE_LIMIT = 50734_u16
TAG_MAKE = 271_u16
TAG_MAKER_NOTE = 37500_u16
TAG_MAKER_NOTE_SAFETY = 50741_u16
TAG_MAX_APERTURE_VALUE = 37381_u16
TAG_MAX_SAMPLE_VALUE = 281_u16
TAG_MD_COLOR_TABLE = 33447_u16
TAG_MD_FILE_TAG = 33445_u16
TAG_MD_FILE_UNITS = 33452_u16
TAG_MD_LAB_NAME = 33448_u16
TAG_MD_PREP_DATE = 33450_u16
TAG_MD_PREP_TIME = 33451_u16
TAG_MD_SAMPLE_INFO = 33449_u16
TAG_MD_SCALE_PIXEL = 33446_u16
TAG_METERING_MODE = 37383_u16
TAG_MIN_SAMPLE_VALUE = 280_u16
TAG_MODE_NUMBER = 405_u16
TAG_MODEL = 272_u16
TAG_MODEL_PIXEL_SCALE_TAG = 33550_u16
TAG_MODEL_TIEPOINT_TAG = 33922_u16
TAG_MODEL_TRANSFORMATION_TAG = 34264_u16
TAG_NEW_SUBFILE_TYPE = 254_u16
TAG_NUMBER_OF_INKS = 334_u16
TAG_OCE_APPLICATION_SELECTOR = 50216_u16
TAG_OCE_IDENTIFICATION_NUMBER = 50217_u16
TAG_OCE_IMAGE_LOGIC_CHARACTERISTICS = 50218_u16
TAG_OCE_SCANJOB_DESCRIPTION = 50215_u16
TAG_OECF = 34856_u16
TAG_OPI_PROXY = 351_u16
TAG_ORIENTATION = 274_u16
TAG_PAGE_NAME = 285_u16
TAG_PAGE_NUMBER = 297_u16
TAG_PHOTOMETRIC_INTERPRETATION = 262_u16
TAG_PHOTOSHOP = 34377_u16
TAG_PIXEL_X_DIMENSION = 40962_u16
TAG_PIXEL_Y_DIMENSION = 40963_u16
TAG_PLANAR_CONFIGURATION = 284_u16
TAG_PREDICTOR = 317_u16
TAG_PRIMARY_CHROMATICITIES = 319_u16
TAG_PROFILE_TYPE = 401_u16
TAG_REFERENCE_BLACK_WHITE = 532_u16
TAG_RELATED_SOUND_FILE = 40964_u16
TAG_RESOLUTION_UNIT = 296_u16
TAG_ROWS_PER_STRIP = 278_u16
TAG_SAMPLE_FORMAT = 339_u16
TAG_SAMPLES_PER_PIXEL = 277_u16
TAG_SATURATION = 41993_u16
TAG_SCENE_CAPTURE_TYPE = 41990_u16
TAG_SCENE_TYPE = 41729_u16
TAG_SENSING_METHOD = 41495_u16
TAG_SHARPNESS = 41994_u16
TAG_SHUTTER_SPEED_VALUE = 37377_u16
TAG_SOFTWARE = 305_u16
TAG_SPATIAL_FREQUENCY_RESPONSE = 41484_u16
TAG_SPECTRAL_SENSITIVITY = 34852_u16
TAG_STRIP_BYTE_COUNTS = 279_u16
TAG_STRIP_OFFSETS = 273_u16
TAG_STRIP_ROW_COUNTS = 559_u16
TAG_SUBFILE_TYPE = 255_u16
TAG_SUBJECT_AREA = 37396_u16
TAG_SUBJECT_DISTANCE = 37382_u16
TAG_SUBJECT_DISTANCE_RANGE = 41996_u16
TAG_SUBJECT_LOCATION = 41492_u16
TAG_SUBSEC_TIME = 37520_u16
TAG_SUBSEC_TIME_DIGITIZED = 37522_u16
TAG_SUBSEC_TIME_ORIGINAL = 37521_u16
TAG_T4_OPTIONS = 292_u16
TAG_T6_OPTIONS = 293_u16
TAG_TARGET_PRINTER = 337_u16
TAG_THRESHHOLDING = 263_u16
TAG_TILE_BYTE_COUNTS = 325_u16
TAG_TILE_LENGTH = 323_u16
TAG_TILE_OFFSETS = 324_u16
TAG_TILE_WIDTH = 322_u16
TAG_TRANSFER_RANGE = 342_u16
TAG_UNIQUE_CAMERA_MODEL = 50708_u16
TAG_USER_COMMENT = 37510_u16
TAG_VERSION_YEAR = 404_u16
TAG_WANG_ANNOTATION = 32932_u16
TAG_WHITE_BALANCE = 41987_u16
TAG_WHITE_POINT = 318_u16
TAG_X_CLIP_PATH_UNITS = 344_u16
TAG_X_POSITION = 286_u16
TAG_X_RESOLUTION = 282_u16
TAG_XMP = 700_u16
TAG_Y_CB_CR_COEFFICIENTS = 529_u16
TAG_Y_CB_CR_POSITIONING = 531_u16
TAG_Y_CB_CR_SUB_SAMPLING = 530_u16
TAG_Y_CLIP_PATH_UNITS = 345_u16
TAG_Y_POSITION = 287_u16
TAG_Y_RESOLUTION = 283_u16
TYPE_ASCII = 2_u16
TYPE_BYTE = 1_u16
TYPE_DOUBLE = 12_u16
TYPE_FLOAT = 11_u16
TYPE_LONG = 4_u16
TYPE_RATIONAL = 5_u16
TYPE_SBYTE = 6_u16
TYPE_SHORT = 3_u16
TYPE_SLONG = 9_u16
TYPE_SRATIONAL = 10_u16
TYPE_SSHORT = 8_u16
TYPE_UNDEFINED = 7_u16
TYPES = [[1, UInt8, "BYTE"], [2, String, "ASCII"], [3, UInt16, "SHORT"], [4, UInt32, "LONG"], [5, UInt64, "RATIONAL"], [6, Int8, "SBYTE"], [7, Bytes, "UNDEFINED"], [8, Int16, "SSHORT"], [9, Int32, "SLONG"], [10, Int64, "SRATIONAL"], [11, Float32, "FLOAT"], [12, Float64, "DOUBLE"]]