Creates a Uint8Array of a PNG image from a DataObject and a ColorMap. For a shorter form, you can also use createPng. This is equivalent to createPngUint8ArrayByImageDataObject(createImageDataObject(dataObject, colorMap)).
Uint8Array
The input DataObject.
The input ColorMap.
Creates a
Uint8Arrayof a PNG image from a DataObject and a ColorMap. For a shorter form, you can also use createPng. This is equivalent to createPngUint8ArrayByImageDataObject(createImageDataObject(dataObject, colorMap)).