image_ops library
Enconding, deconding, transformations and operations over multiple image formats (png, jpeg, ico, gif, bmp, tiff, webp, avif, tga, farbfeld, ...)
Classes
- Image
- ImageCrop
- ImageErrorV
- ImageErrorVDecoding
- An error was encountered while decoding.
- ImageErrorVEncoding
- An error was encountered while encoding.
- ImageErrorVIoError
- An error occurred while interacting with the environment.
- ImageErrorVLimits
- Completing the operation would have required more resources than allowed.
- ImageErrorVParameter
- An error was encountered in input arguments.
- ImageErrorVUnsupported
- An operation can not be completed by the chosen abstraction.
- ImageOpsWorld
- ImageOpsWorldImports
- ImageRef
- ImageSize
- Operations
Functions
-
createImageOps(
{required WasiConfig wasiConfig, Future< WasmModule> loadModule()?, WorkersConfig? workersConfig}) → Future<ImageOpsWorld> -
Creates a ImageOpsWorld with the given
wasiConfig
. It setsUp the dynamic library for wasm_run in native platforms and loads the image_ops WASM module from the file system or from the url pointing to 'lib/image_ops_wasm.wasm'.