Extracted from Pike v7.6 release 13 at 2006-10-17.
pike.ida.liu.se
[Top]
Image
Image.TGA

Method Image.TGA._decode()


Method _decode

object Image.TGA._decode(string data)

Description

Decodes a Targa image to a mapping. The mapping follows this format: ([ "image":img_object, "alpha":alpha_channel ])

Note

Throws upon error in data.