Method Image.GIF.decode_layers()


Method decode_layers
Method decode_layer

array(object) decode_layers(string data)
array(object) decode_layers(array _decoded)
object decode_layer(string data)
object decode_layer(array _decoded)

Description

Decodes GIF data and creates an array of layers or the resulting layer.

Note

The resulting layer may not have the same size as the gif image, but the resulting bounding box of all render chunks in the gif file. The offset should be correct, though.

See also

encode, decode_map