Method Image.TGA._decode()
- Method _decode
_decode(object
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.
_decode(object
string
data
)
Decodes a Targa image to a mapping. The mapping follows this format: ([ "image":img_object, "alpha":alpha_channel ])
Throws upon error in data.