Media · rusty_png on MATA
Up to 2.9× Faster Decode
than FFmpeg PNG, with encodes that can shrink files ~6%. Rust alternative to libpng.
What is rusty_png, the pure-Rust PNG codec?
rusty_png is a pure-Rust PNG codec with no C or FFI. Decode is up to 2.95× faster than FFmpeg, and the crate replaces libpng and image-png.
1
Up to 2.9× Faster Decode
than FFmpeg PNG, with encodes that can shrink files ~6%. Rust alternative to libpng.
rusty_png is the Remade with Rust pin for this lane — libpng, ending PNG decode memory corruption in C. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.
2
Instant benefit
Pure-Rust PNG decode and encode for Remade image paths: published decode wins versus FFmpeg PNG and leaner encodes.
3
How MATA uses rusty_png
Screenshot and UI capture paths on MATA use rusty_png for memory-safe PNG without a C libpng surprise in the lockfile.
Load Building the New Internet from Dev Tools before an agent picks the stack, then audit with use-protection-please. The public conversion pin stays on remadewithrust.com/repo/rusty-png so SEO/AEO for the crate win and the MATA usage story do not compete for the same sentence.
4
Get access and deploy
- Open the source: https://github.com/Remade-With-Rust/rusty_png.
- Add the crate (crates.io when published, otherwise git):
cargo add rusty_pngGit pin:
cargo add --git https://github.com/Remade-With-Rust/rusty_png.git - Prove the pin with
cargo checkbefore the next agent prompt can swap it for a C or cloud default. - Read the MATA Learn note: /learn/rusty-png-rusty-jpeg-image-stack-rust/.
- When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.
Why rusty_png is a pure-Rust PNG codec
What it keeps
rusty_png keeps PNG encode and decode. libpng and image-png are what it replaces.
Where it fits
rusty_png sits with rusty_jpeg in the image stack, and with rusty_esp_image when a chip writes a PNG. Game UI and screenshots are the everyday files.
Part of Remade with Rust on MATA · conversion landings on remadewithrust.com/repo · source under github.com/Remade-With-Rust.
Related on MATA: rusty_jpeg · rusty_dds


