Description

Converts an image (Image) in Canvas. The returned object is : { canvas: {HTML5CanvasElement}, ctx: {Context2d} }

Usage

Parameters

  • id {String}

    Image id

  • cache {Boolean}

    Image id

Returns

Object

Discussion