Media · rusty_icc on MATA

Within 0.03 ΔE2000 of LittleCMS

on its exact pipeline, with v2 and v4 profiles, four rendering intents, and no dependencies. rusty_icc is a pure Rust alternative to LittleCMS.

What is rusty_icc, the pure-Rust ICC colour management crate?

rusty_icc parses and writes ICC v2 and v4 profiles and runs matrix-shaper and LUT transforms for RGB, CMYK, grey and Lab in pure Rust. It has no dependencies, replaces LittleCMS, and lands within 0.03 ΔE2000 of LittleCMS's exact pipeline.

1

Within 0.03 ΔE2000 of LittleCMS

on its exact pipeline, with v2 and v4 profiles, four rendering intents, and no dependencies. rusty_icc is a pure Rust alternative to LittleCMS.

rusty_icc is the Remade with Rust pin for this lane — LittleCMS (lcms2), ending C profile parsing on every photo, print proof and screenshot. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.

2

Instant benefit

Pure-Rust ICC colour management: v2/v4 profile parsing and writing, matrix-shaper and LUT transforms, soft-proofing and gamut checks.

3

How MATA uses rusty_icc

rusty_icc ships in the remade_ffmpeg_rs workspace that MATA media paths already pin, so the colour profile inside a photo, scan or print proof is read and applied in Rust, with no LittleCMS C library 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-icc 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_icc.
  2. Add the crate (crates.io when published, otherwise git):
    cargo add rusty_icc

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

  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-icc-littlecms-remade-in-rust/.
  5. When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.

Why rusty_icc is a pure-Rust ICC colour management

What it keeps

rusty_icc keeps the colour jobs LittleCMS does: read the profile, build the transform, convert the pixels. lut8, lut16, mAB and mBA tables are covered. LittleCMS (lcms2) is the C library it replaces.

Where it fits

rusty_icc applies the kind of ICC profile rusty_tiff reads out of a TIFF's tags. rusty_tiff and rusty_image are its neighbors in the remade_ffmpeg_rs workspace.