| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Image
Image.PS

# Method Image.PS.decode_header()

Method decode_header

  `mapping decode_header(string data)`

Description

  Decodes the header of the postscript data into a mapping.

  `"xsize" : int` | Size of image
  `"ysize" : int`
  `"type" : string` | File type information as MIME type. Always "application/postscript".
  `"color_space" : string` | Color space of image. "GRAYSCALE", "LAB", RGB", "CMYK" or "UNKNOWN"