Module: image

This is a module that consolidates functions for creating images.

Classes

ColorMap

Methods

(static) createImage(data, colorMap) → {Object}

Create an instance for image creation. The generated instance allows you to use the methods getCanvas() and getDataURL(). This is intended for use with the module:image.ColorMap and may undergo significant changes to its specifications or be discontinued in the future.
Parameters:
Name Type Description
data DataObject Conditions for obtaining an instance
colorMap module:image.ColorMap Color map used for visualization
See:
Returns:
Returns an instance.
Type
Object