| Crates.io | pigment64 |
| lib.rs | pigment64 |
| version | 0.6.3 |
| created_at | 2023-07-15 15:41:48.432859+00 |
| updated_at | 2025-12-29 11:31:39.208893+00 |
| description | A library for handling conversion between N64 texture formats and modern image formats |
| homepage | |
| repository | https://github.com/decompals/pigment64 |
| max_upload_size | |
| id | 917286 |
| size | 604,550 |
pigment64 is a library written in Rust for converting N64 image data between native and png formats.
pigment64 supports a variety of common N64 image formats:
pigment64 provides command-line interface (CLI):
Usage: pigment64_cli <COMMAND>
Commands:
to-png Converts a binary image to a PNG
to-bin Converts a PNG to a binary image
help Print this message or the help of the given subcommand(s)
To use pigment64 in your Rust project simply run a
cargo add pigment64
pigment64 can also be used as a Python module, allowing you to integrate it into your Python scripts and tools.
You can install the Python module from PyPI:
pip install pigment64
This project uses maturin to build the Rust-based Python extension. It is recommended to use a Python virtual environment.
Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
Install dependencies:
pip install maturin pytest
To compile the library and install it into your active virtual environment, run:
maturin develop
This project is licensed under the MIT License.