Pike v8.1 release 6

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.