Skip to main content

createCustomImageData

@microblink/blinkid


@microblink/blinkid / createCustomImageData

Function: createCustomImageData()

createCustomImageData(imageData): ImageData

Creates a custom ImageData object with the same properties as the original ImageData. This is a workaround for the performance issue in Chromium browsers.

Parameters

imageData

ImageData

The original ImageData object to be wrapped.

Returns

ImageData

A custom ImageData object with the same properties.