Media · rusty_tiff on MATA
No Panics on 18,024 Damaged TIFFs
Malformed input returns an error, and good files decode pixel-identical to image-tiff on its test matrix. rusty_tiff is a pure Rust alternative to libtiff.
What is rusty_tiff, the pure-Rust TIFF and BigTIFF codec?
rusty_tiff is a pure-Rust TIFF and BigTIFF decoder and encoder built with forbid(unsafe_code). It reads strips and tiles, LZW, Deflate, PackBits, CCITT G3/G4 and JPEG-in-TIFF, and it replaces libtiff and the tiff crate.
1
No Panics on 18,024 Damaged TIFFs
Malformed input returns an error, and good files decode pixel-identical to image-tiff on its test matrix. rusty_tiff is a pure Rust alternative to libtiff.
rusty_tiff is the Remade with Rust pin for this lane — libtiff and the tiff crate, ending C parsing of scans, multipage archives, and DNG's TIFF layer. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.
2
Instant benefit
Pure-Rust TIFF and BigTIFF decode and encode: strips, tiles, LZW, Deflate, CCITT G4 and JPEG-in-TIFF, with no C and no unsafe.
3
How MATA uses rusty_tiff
rusty_tiff ships in the remade_ffmpeg_rs workspace that MATA media paths already pin, so a scanned document, a multipage fax or a DNG's TIFF layer opens in Rust on a Home Computer or mesh node, and a damaged file returns an error instead of crashing the process.
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-tiff 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/remade_ffmpeg_rs/tree/main/crates/rusty_tiff.
- Add the crate (crates.io when published, otherwise git):
cargo add rusty_tiffGit pin:
cargo add --git https://github.com/Remade-With-Rust/remade_ffmpeg_rs.git rusty_tiff - 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-tiff-libtiff-remade-in-rust/.
- When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.
Why rusty_tiff is a pure-Rust TIFF and BigTIFF codec
What it keeps
rusty_tiff keeps the TIFF jobs archives already have: multipage files, SubIFDs for DNG's TIFF layer, float samples, predictors, and EXIF, ICC and XMP tags. libtiff and the tiff crate are what it replaces.
Where it fits
rusty_tiff lives in the remade_ffmpeg_rs workspace beside rusty_image for the small formats and rusty_icc for the colour profile a TIFF carries. rusty_jpeg and rusty_png keep the web stills.
Part of Remade with Rust on MATA · conversion landings on remadewithrust.com/repo · source under github.com/Remade-With-Rust.
Related on MATA: rusty_image · rusty_icc


