# elringus/sprite-dicing

Cross-engine tool for lossless compression of sprites with identical regions

Repository: https://github.com/elringus/sprite-dicing
Canonical: https://ross.abutalabs.com/products/sprite-dicing
Homepage: https://dicing.elringus.com
Language: Rust
License: MIT
License Family: permissive
Topics: game-development, unity, sprites, cli, rust, tool, godot, atlas
Last push: 2026-04-14T08:03:43+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 40, longevity 100
- inputs: {"age_days": 3268, "days_push": 141, "days_rel": 191, "gap_med": 530, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1514, forks 156 (observed 2026-08-28T04:04:56.347503+00:00)

## What it is
A cross-engine tool written in Rust for losslessly compressing sprite textures by splitting them into units, discarding identical regions, and baking unique units into atlas textures for runtime reconstruction. It ships as a standalone CLI, a Rust crate with C ABI, and first-party Unity and Godot plugins.

## Use cases
- compress character sprite sheets for a visual novel
- reduce game build size by deduplicating identical texture regions
- generate sprite atlases from PNG or WEBP textures
- bake diced sprite atlases for Unity or Godot
- losslessly shrink textures that share most of their pixels

## When to choose
- your game has many sprites with large identical areas, like character emotion variants
- you need engine-agnostic atlas baking usable from Unity, Godot, or custom engines
- you want lossless texture compression with a simple CLI workflow

## When to avoid
- your sprites have little to no overlapping content, so savings would be minimal
- you need lossy texture compression or GPU-native texture formats like BC7
- you need runtime-only compression without a preprocessing build step

## Facets
- artifact type: cli-tool
- maturity: active
- function: image-processing, compression, cli, graphics
- domain: graphics, developer-tools
- platform: windows, cross-platform, rust, game-engine
- tags: sprites, texture-atlas, unity, godot, visual-novel, lossless-compression, rust-library, game-development, macos, linux

## Member repositories
- elringus/sprite-dicing (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.347503+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:12.521358+00:00, confidence not recorded.
  - readme: https://github.com/elringus/sprite-dicing (fetched 2026-08-28T04:04:56.347503+00:00, sha f926c381ea9a)
  - homepage: https://dicing.elringus.com (fetched 2026-08-29T11:35:43.660450+00:00, sha e64dedffaabd)
  - registry_crates: https://crates.io/api/v1/crates/sprite-dicing (fetched 2026-08-29T11:35:43.669441+00:00, sha a7f2c4433839)
- Data as of 2026-08-30T08:39:29.467469+00:00.
