Simple image converter for DS
Find a file
2025-11-18 08:11:32 +07:00
external/ChernoTimer version 2.0.0 2025-11-18 08:11:32 +07:00
image version 2.0.0 2025-11-18 08:11:32 +07:00
src version 2.0.0 2025-11-18 08:11:32 +07:00
.gitignore using online k-means to quantize image 2025-05-16 11:20:11 +07:00
.gitmodules version 2.0.0 2025-11-18 08:11:32 +07:00
CMakeLists.txt version 2.0.0 2025-11-18 08:11:32 +07:00
LICENSE rework almost everything 2024-12-30 03:33:15 +07:00
readme.md version 2.0.0 2025-11-18 08:11:32 +07:00

sillyimage - simple image color quantization tool

powered by libimagequant, just wrapped it into a cli tool

originally made to create custom image formats for nintendo ds homebrew
by combining image data and metadata into one file

there is a grf format which does exactly this, which was incomplete back then
now that grit fork from blockds has fixed it up and made it stable
sillyimage format is no longer needed, and now
it just became an image quantization tool

still, grit has some issues. its color qquantization isnt great, especially
for images with many colors and transparent backgrounds. the transparency
often gets messed up. it works better if you process the image first
before passing into grit

Example

Original 32 colors 32 colors no alpha threshold
original indexed indexed no threshold

usage

sillyimage <input-file> [output-dir] [options]

options

  • -o, --out basename output name
  • -a, --alpha transparency threshold (0-255): colors with alpha value below this threshold will become fully transparent [default: 128]
  • -a, --alpha disable transparency threshold
  • -v, --verbose prints logs
  • -h, --help shows help message and exits
  • --version prints version information and exits

dependencies

license

GPL v3