Media · rusty_raster on MATA

641 of 645 Scenes Bit-Identical

to tiny-skia, rendered live on Windows, Linux and macOS. The other four differ by one level at most. Rust alternative to tiny-skia.

What is rusty_raster, the pure-Rust 2D rasteriser?

rusty_raster is a 2D rasteriser with a tiny-skia-shaped API: anti-aliased fill and stroke, gradients, blend modes, masks and pixmap drawing. It is a hardened forbid(unsafe_code) fork of tiny-skia 0.12, and it replaces tiny-skia and Skia's CPU rasteriser for those features.

1

641 of 645 Scenes Bit-Identical

to tiny-skia, rendered live on Windows, Linux and macOS. The other four differ by one level at most. Rust alternative to tiny-skia.

rusty_raster is the Remade with Rust pin for this lane — tiny-skia and Skia's CPU rasteriser, hardened with every unsafe block forbidden and tiny-skia's BSD-3-Clause notice kept. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.

2

Instant benefit

Anti-aliased fill and stroke, gradients, blend modes, masks and pixmap drawing behind a tiny-skia-shaped API, with no unsafe code.

3

How MATA uses rusty_raster

rusty_raster ships in the remade_ffmpeg_rs workspace that MATA media paths already pin, so a chart, a thumbnail overlay or a vector icon is drawn into pixels in Rust, with no Skia C++ and no unsafe block 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-raster 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_raster.
  2. Add the crate (crates.io when published, otherwise git):
    cargo add rusty_raster

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

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

Why rusty_raster is a pure-Rust 2D rasteriser

What it keeps

rusty_raster keeps the drawing jobs tiny-skia does: fills and strokes with joins, caps, dashes and hairlines, plus gradients, blend modes and masks. Its only dependency, rusty_png, is optional, and tiny-skia's BSD-3-Clause license ships with it.

Where it fits

rusty_raster is the pixel layer under rusty_svgtree, which turns an SVG file into a tree that rusty_raster draws. rusty_png saves the result when that optional feature is on.