- sRGBToLinear(image): HTMLCanvasElement
Parameters
- image: ImageBitmap | HTMLImageElement | HTMLCanvasElement
Returns HTMLCanvasElement
- sRGBToLinear(image): {
data: ImageData["data"];
height: ImageData["height"];
width: ImageData["width"];
} Returns {
data: ImageData["data"];
height: ImageData["height"];
width: ImageData["width"];
}
data: ImageData["data"]
height: ImageData["height"]
width: ImageData["width"]
Converts the given sRGB image data to linear color space.