Skip to content

common.RasterizeSVG

Rasterize a SVG image.

Syntax

{rgba, width:int, height:int} common.RasterizeSVG(data, scale:number)

Parameters

data The image data to decode.

scale Number to scale the image.

Return value

Returns rgba, width and height of the decoded image.