Method Image.ANY.decode_header()
- Method
decode_header
mappingdecode_header(stringdata)- Description
Tries heuristics to find the correct method of decoding the header, then calls that method.
The resulting mapping depends on wich decode_header method that is executed, but these keys will probably exist
"xsize":intSize of image
"ysize":int"type":stringFile type information as MIME type.
"color_space":stringColor space of image.
- Note
Throws upon failure.