[−][src]Module pconvert_rust::wasm::utils
PNG decode/encode and load functions, console log macros, argument parsing from javascript input to inner-crate rust types and other utility functions.
Structs
| NodeFs |
Functions
| build_algorithm | Attempts to parse a |
| build_params | Attempts to build a vector of blending operations and extra parameters.
One pair per blending operation. Returns a |
| encode_file | Receives png buffer data and encodes it as a |
| encode_image_data | Receives png buffer data and encodes it as an |
| get_compression_type | Retrieves the |
| get_filter_type | Retrieves the |
| load_png | Receives a |
| log | |
| log_benchmark | Logs one line (algorithm, compression, filter, blend time, read time, write time)
of the benchmarks table to the browser console (with |
| log_benchmark_header | Logs the header/column names of the benchmarks table to the browser
console (with |
| node_read_file_async | Rust Future from nodejs |
| node_read_file_sync | Wrapper function for nodejs |
| node_require | |
| node_write_file_sync | Wrapper function for nodejs |