Method Image.TIFF._decode()
- Method _decode
 mapping(string:mixed) _decode(stringdata)- Description
 Decodes a TIFF image to a mapping with at least the members image and alpha.
"image":Image.ImageThe actual image.
"alpha":Image.ImageImage alpha channel.
"xres":floatResolution
"yres":float"unit":string"unitless""pixels/inch""pixels/cm""xdpy":floatResolution
"ydpy":float"xposition":int"yposition":int"photometric":stringType of photometric. Can be
"unknown"."extra_samples":array(int|string)Array elements are either integers or any of
"unspecified""assoc-alpha""unassoc-alpha""threshholding":string"halftone_hints":array(int)Array is always two elements.
"artist":string"datetime":string"hostcomputer":string"software":string"name":string"comment":string"make":string"model":string"page_name":string"page_number":array(int)Array is always two elements.
"colormap":array(array(int))Array of array of RGB values.
"whitepoint":array(int)Array is always two elements.
"primary_chromaticities":array(float)Array is always six elements.
"reference_black_white":array(array(float))Array of array of two elements.
- Throws
 Throws upon error in data.