Method Image.PS.decode_header()
- Method decode_header
mappingdecode_header(stringdata)- Description
Decodes the header of the postscript
datainto a mapping."xsize":intSize of image
"ysize":int"type":stringFile type information as MIME type. Always "application/postscript".
"color_space":stringColor space of image. "GRAYSCALE", "LAB", RGB", "CMYK" or "UNKNOWN"