ImageDriver
ImageDriver is responsible for probing, loading and saving images
Since
0.4.3
Functions
Convert an image to a data-url
Loads a cubemap image from a file or URL. A cubemap is a texture typically used in 3D rendering, consisting of six images representing the sides of a cube.
Loads a cubemap image from the provided buffer. The cubemap is typically a texture with six faces corresponding to the sides of a cube, used in 3D rendering.
Loads an image from a file path or URL.
Loads an image from the provided buffer.
Probe an image located at fileOrUrl
Probe an image from buffer
Saves the provided image data to the specified filename using a custom save configuration.
Save an image to filename
Saves the provided image data to the specified filename using the given configuration.