| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Image
Image.XFace

# Method Image.XFace.decode_header()

Method decode_header

  `object decode_header(string data)`
  `object decode_header(string data, object mappingoptions)`

Description

  Decodes an X-Face image header.

          "xsize":int
          "ysize":int
              size of image
          "type":"image/x-xface"
              file type information

  The `options` argument may be a mapping containing zero options.

Note

  There aint no such thing as a X-Face image header. This stuff tells the characteristics of an X-Face image.