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 struct implementation, update functions and generic function benchmark.
Blending algorithms and associated utility functions and enums.
Constants that define the current build and execution environment.
Internal error types definition and external error type conversions.
Thread pool, thread pool status and workers implementation.
Python extension, exported functions and type conversions.
PNG decode/encode and read/write functions, external crate type conversions and other utility functions.
Web Assembly (WASM) extension, exported functions and type conversions.