Media · rusty_image on MATA

Pixel-Identical on 3,814 Files

against the image crate, across BMP, ICO, TGA, PNM, Radiance HDR and QOI decode and encode. rusty_image is a pure Rust alternative to stb_image.

What is rusty_image, the pure-Rust BMP, ICO, TGA and QOI codec crate?

rusty_image decodes and encodes BMP (clipboard DIBs included), ICO/CUR, TGA, PNM/PAM, Radiance HDR and QOI in pure Rust, and probes headers for 13 formats. It replaces those codecs in the image crate and stb_image.

1

Pixel-Identical on 3,814 Files

against the image crate, across BMP, ICO, TGA, PNM, Radiance HDR and QOI decode and encode. rusty_image is a pure Rust alternative to stb_image.

rusty_image is the Remade with Rust pin for this lane — stb_image and the image crate's small-format codecs, ending C header parsing on clipboard bitmaps, icons and textures. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.

2

Instant benefit

Pure-Rust BMP, ICO/CUR, TGA, PNM/PAM, Radiance HDR and QOI decode and encode, plus header-only probing for 13 formats.

3

How MATA uses rusty_image

rusty_image ships in the remade_ffmpeg_rs workspace that MATA media paths already pin, so a pasted clipboard bitmap, an icon, a TGA texture or a QOI frame opens in Rust instead of through stb_image C on a Home Computer or mesh node.

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-image so SEO/AEO for the crate win and the MATA usage story do not compete for the same sentence.

4

Get access and deploy

  1. Open the source: https://github.com/Remade-With-Rust/remade_ffmpeg_rs/tree/main/crates/rusty_image.
  2. Add the crate (crates.io when published, otherwise git):
    cargo add rusty_image

    Git pin: cargo add --git https://github.com/Remade-With-Rust/remade_ffmpeg_rs.git rusty_image

  3. Prove the pin with cargo check before the next agent prompt can swap it for a C or cloud default.
  4. Read the MATA Learn note: /learn/rusty-image-bmp-ico-qoi-codecs-in-rust/.
  5. When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.

Why rusty_image is a pure-Rust BMP, ICO, TGA and QOI codecs

What it keeps

rusty_image keeps BMP, including CF_DIB and CF_DIBV5 clipboard bitmaps, plus icons, cursors, TGA, PNM, PAM, Radiance HDR and QOI. stb_image and the image crate's codecs for those formats are what it replaces.

Where it fits

rusty_image sits beside rusty_png and rusty_jpeg, which keep the web formats, and next to rusty_tiff and rusty_icc in the remade_ffmpeg_rs workspace.