Repository navigation
RustMatte v1.2.0
Offline, privacy-first AI background remover for desktop and CLI (GPL-3.0-or-later).
v1.2.0 is Windows-first. macOS and Linux support are out of scope for this release (their artifacts are provided as experimental/best-effort only); GPU CoreML verification on Apple hardware is deferred.
RustMatte v1.2.0 is prepared from the main branch after the release-gate fixes (RAW/HEIC verification, GPU OFF-by-default, release CI guard, dirs stability). This release is published after owner authorization (2026-12-04). Assets are built and attached by CI.
What's New in v1.2.0
- Camera RAW & Apple HEIC/HEIF decoding: Pure-Rust HEIC/HEIF decode (
heic-rs) and embedded-JPEG preview extraction for Camera RAW (.CR2,.NEF,.ARW,.DNG). Verified in CI against real sample files (Gate G-4): 6/6 HEIC decoded, 3/4 RAW decoded (NEF, ARW, CR2); one DNG whose embedded preview stores raw sensor data is cleanly rejected with a typed error rather than crashing. RAW output dimensions equal the embedded JPEG preview size, not the camera's full sensor resolution. - GPU execution providers OFF by default:
ort/directml(Windows) andort/coreml(macOS) are now gated behind the cargo featuregpu(disabled in default/release builds). Runtime migratesauto/directml/coremltocpuwhen the feature is unavailable and errors clearly on explicit GPU selection without it. - Release workflow CI guard (G-17): the release workflow now requires a successful CI run for the tagged commit before building release artifacts.
- Path stability verified (G-13/G-19):
dirs 6.0.0and7.0.0produce identicaldata_local_dir/config_dirresults;dirsstays pinned at=6.0.0.
What Works
- Desktop App (Windows x64 primary): Drop photos or folders, preview before/after cutouts with zoom/pan, choose Fast (
U-2-Netp) or Balanced (BiRefNet Lite 512) tiers, refine edges, and export transparent or solid-background PNGs (Save/Save all). - 100% Offline After Setup: Zero telemetry, analytics, or uploads. Models download once on consent (verified by SHA-256) or can be imported locally from
.onnx, and"Never use the network"enforces strict offline mode. - CLI (
rustmatte): Single-image and folder batch mode (--recursive,--skip-existing,--max-side,--device cpu), plusmodels list | download | delete | verify.
What Does Not / Known Limitations
- Experimental platforms: macOS (
aarch64.dmg, Apple Silicon only; no Intel build) and Linux (.AppImage,.deb) are built in CI and have not been manually tested on physical macOS/Linux machines. - GPU (DirectML/CoreML): Disabled by default in v1.2.0 (
gpufeature). DirectML was exercised locally by the owner during development; CoreML runtime behavior remains UNVERIFIED on physical Apple hardware. - RAW coverage: One DNG sample is cleanly rejected (embedded preview holds raw sensor data, not a decodable JPEG). Behavior on other cameras/RAW variants remains UNVERIFIED.
- Glass & translucent objects: Dichotomous foreground segmentation treats transparent glass/bottles as solid objects.
- Fast tier caveat:
U-2-Netpis fast but best for people/products on clean backgrounds; may leave smears on fur or busy backgrounds. - Maximum tier (
BEN2 Base FP32): Present in the code but hidden in the model manifest — it cannot be downloaded, imported, or selected until its source is public and hash-verified.
Unsigned App Warnings
- Windows (SmartScreen): Unsigned executable. Verify SHA-256 first, then click More info -> Run anyway if prompted.
- macOS (Gatekeeper): Unsigned
.dmg/.app. Verify SHA-256 first, then use System Settings -> Privacy & Security -> Open Anyway (orxattr -dr com.apple.quarantine /Applications/RustMatte.app). - Linux: Requires system
libwebkit2gtk-4.1-0,libgtk-3-0,libayatana-appindicator3-1,librsvg2-2(pluslibfuse2on some distros for AppImage).
Assets
| Asset | Bytes |
|---|---|
RustMatte_1.2.0_x64-setup.exe (Windows NSIS) |
10,464,264 |
RustMatte_1.2.0_aarch64.dmg (macOS Apple Silicon) |
13,526,692 |
RustMatte_1.2.0_amd64.AppImage (Linux) |
92,551,672 |
RustMatte_1.2.0_amd64.deb (Debian/Ubuntu) |
15,420,720 |
rustmatte-cli-v1.2.0-x86_64-pc-windows-msvc.zip |
9,376,380 |
rustmatte-cli-v1.2.0-aarch64-apple-darwin.tar.gz |
10,602,243 |
rustmatte-cli-v1.2.0-x86_64-unknown-linux-gnu.tar.gz |
12,245,499 |
SHA256SUMS.txt |
727 |
Verify Checksums
Compare downloaded files against SHA256SUMS.txt:
- Windows:
Get-FileHash .\RustMatte_1.2.0_x64-setup.exe -Algorithm SHA256 - macOS:
shasum -a 256 -c SHA256SUMS.txt --ignore-missing - Linux:
sha256sum -c SHA256SUMS.txt --ignore-missing
Reporting Problems
Open a Bug Report at https://github.com/yehudaaadev/RustMatte/issues/new/choose and attach the output of About & Licenses -> Copy diagnostic info (contains no file paths). For security issues, report privately via https://github.com/yehudaaadev/RustMatte/security/advisories/new.