common.DecodePNG
Decode a PNG image.
Syntax
{rgba, width:int, height:int} common.DecodePNG(data)
Parameters
data The image data to decode.
Return value
Returns rgba, width and height of the decoded image.
Decode a PNG image.
{rgba, width:int, height:int} common.DecodePNG(data)
data The image data to decode.
Returns rgba, width and height of the decoded image.