Expand description
§Pico-8 Decompress
Pico-8 decompress routines for Rust ported from Dan Sanderson’s official C snippets that were written by Joseph White.
§Example
This library also includes the pico8-png command line tool.
$ pico8-png hello-cart.p8.png; # OR cargo run hello-cart.p8.png
print("hello world")§License
This project is licensed under the MIT license.
Modules§
Enums§
- Error
- Errors
Functions§
- decompress
- Decompress bytes using header to determine if it is PXA or P8 compression.
- extract_
bits - Extract the two least significant bits from PNG RGBA frame data.
- extract_
bits_ from_ png - Extract two least significant bits from PNG file contents directly.