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