File: ImageUtils.md | Updated: 11/15/2025
A class containing utility functions for images.
Returns a data URI containing a representation of the given image.
image | The image object.
---|---
type | Indicates the image format. Default is 'image/png'.
Returns: The data URI.
Converts the given sRGB image data to linear color space.
image | The image object.
---|---
Returns: The converted image.