A small Rust program for converting PNG images to RGBA5551 format.
This can be used to produce images for use with Example 05 - Slide Tool.
Warning
This is currently a work in progress.
No surprises here:
cargo build
This will produce an executable at target/debug/texture-converter
.
Alternatively you can build a release executable:
cargo build --release
To convert a PNG file <input>
to an RGBA5551 format file <output>
:
texture-converter <input> <output>
For example, if you are running texture-converter
from the current directory, here is how you would convert slides for Example 05:
./target/debug/texture-converter \
../../examples/05-slide-tool/fs/slide-01.png \
../../examples/05-slide-tool/fs/slide-01.bin