| Crates.io | palpngrs |
| lib.rs | palpngrs |
| version | 0.2.0 |
| created_at | 2025-05-16 07:48:20.158077+00 |
| updated_at | 2025-05-20 19:40:40.623406+00 |
| description | Rust library for converting between Palettized images and PNGs. |
| homepage | |
| repository | https://github.com/sjoblomj/palpngrs |
| max_upload_size | |
| id | 1676186 |
| size | 49,513 |
Rust library for converting between Palettized images and PNGs. Palettized images are images that use an external colour palette to define their colours. This reduces the size of the images and is frequently used in older games. Rather than containing RGB pixels, Palettized images contain indices into a palette.
This library can read 256 RBG palettes and convert Palettized images to PNGs. It can also convert PNGs to Palettized images by looking up each pixel's RGB value in the palette.