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

[Top]
Image
Image.GIF

# Method Image.GIF.decode_map()

Method decode_map

  `mapping decode_map(string|array layers)`

Description

  Returns a mapping similar to other decoders `_decode` function.

          "image":the image
          "alpha":the alpha channel

          "xsize":int
          "ysize":int
              size of image
          "type":"image/gif"
              file type information as MIME type

Note

  The weird name of this function (not `_decode` as the other decoders) is because gif was the first decoder and was written before the API was finally defined. Sorry about that. /Mirar