Crate pconvert_rust

Source
Expand description

The Rust version of the famous P(NG)Convert from Hive Solutions. This Rust crate can be used as a crate in another rust project, as a Web Assembly module (able to be used within JavaScript that targets web browsers) or as a python package.

§WebAssembly (WASM) Module

Follow this guide on how to install wasm-pack.

To build, use the wasm-extension feature:

$ wasm-pack build -- --features wasm-extension

§Python package

This crate can be installed as a python package through the use of pip. Simply run:

$ pip install pconvert-rust/.

§License

P(NG)Convert Rust is currently licensed under the Apache License, Version 2.0.

Modules§

benchmark
Benchmark struct implementation, update functions and generic function benchmark.
blending
Blending algorithms and associated utility functions and enums.
compose
constants
Constants that define the current build and execution environment.
errors
Internal error types definition and external error type conversions.
parallelism
Thread pool, thread pool status and workers implementation.
pymodule
Python extension, exported functions and type conversions.
utils
PNG decode/encode and read/write functions, external crate type conversions and other utility functions.
wasm
Web Assembly (WASM) extension, exported functions and type conversions.