Method Image.TIFF.decode_header()
- Method decode_header
mappingdecode_header(stringdata)- Description
Decodes the header of the TIFF
datainto a mapping."xsize":intSize of image in pixels.
"ysize":int"ImageWidth":int"ImageLength":int"type":stringFile type information as MIME type. Always
"image/tiff"."color_space":stringColor space of TIFF image. Either
"RGB"or"CMYK"."byte_order":stringEither
"II"for Little Endian or"MM"for Big Endian."NewSubfileType":int"BitsPerSample":string"Compression":int"PhotometricInterpretation":int"Make":string"Model":string"SamplesPerPixel":int"ResolutionUnit":int"Software":string"DateTime":string"Predictor":int"XMP":string