Method Image.TIFF.decode_header()
- Method
decode_header
mapping
|zero
decode_header(string
data
)- Description
Decodes the header of the TIFF
data
into a mapping."xsize"
:int
Size of image in pixels.
"ysize"
:int
"ImageWidth"
:int
"ImageLength"
:int
"type"
:string
File type information as MIME type. Always
"image/tiff"
."color_space"
:string
Color space of TIFF image. Either
"RGB"
or"CMYK"
."byte_order"
:string
Either
"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