Skip to content

common.DecodeJPEG

Syntax

common.DecodeJPEG(data) → {rgba, width:int, height:int}

Parameters

data
The image data to decode.

Returns

Returns {rgba, width:int, height:int}.