Skip to content

ImageData

Values

make

let make: (
~sw: int,
~sh: int,
~settings: WebAPI.DOMAPI.imageDataSettings=?,
) => WebAPI.DOMAPI.imageData

Parameters

int int option< WebAPI.DOMAPI.imageDataSettings >

Return type

WebAPI.DOMAPI.imageData

make2

let make2: (
~data: array<int>,
~sw: int,
~sh: int=?,
~settings: WebAPI.DOMAPI.imageDataSettings=?,
) => WebAPI.DOMAPI.imageData

Parameters

array< int > int option< int > option< WebAPI.DOMAPI.imageDataSettings >

Return type

WebAPI.DOMAPI.imageData