Function: rgbaByteLength()
rgbaByteLength(
coords):number
Defined in: src/lib/image/index.ts:39
Get the number of raw RGBA bytes needed for a bounding box.
Parameters
coords
Returns
number
Example
rgbaByteLength([0, 0, 2, 2]); // 16
rgbaByteLength(
coords):number
Defined in: src/lib/image/index.ts:39
Get the number of raw RGBA bytes needed for a bounding box.
number
rgbaByteLength([0, 0, 2, 2]); // 16