Expand description
Web Assembly (WASM) extension, exported functions and type conversions.
Modules§
- benchmark
- Benchmarking functions of the WASM API exposed
- conversions
- From and to conversions for rust and javascript types.
- utils
- PNG decode/encode and load functions, console log macros, argument parsing from javascript input to inner-crate rust types and other utility functions.
Functions§
- blend_
image_ buffers - Blends two image buffers using
algorithm
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - blend_
images_ data_ js - Blends two
ImageData
objects into one usingalgorithm
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - blend_
images_ js - Blends two
File
s into one, namedtarget_file_name
, usingalgorithm
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - blend_
multiple_ data_ js - Blends multiple
ImageData
objects into one usingalgorithm
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - blend_
multiple_ fs - [NodeJS only]
Blends multiple images read from local file system into one using
algorithm
oralgorithms
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - blend_
multiple_ fs_ async - [NodeJS only]
Asynchronously blends multiple images read from local file system into one using
algorithm
oralgorithms
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - blend_
multiple_ js - Blends multiple
File
s into one, namedtarget_file_name
, usingalgorithm
and the extraoptions
given. Algorithm defaults toBlendAlgorithm::Multiplicative
. - get_
module_ constants_ js - Returns a JSON object with the module constants (e.g. ALGORITHMS, COMPILER, COMPILER_VERSION, …).