Simple image converter for DS
| external/ChernoTimer | ||
| image | ||
| src | ||
| .gitignore | ||
| .gitmodules | ||
| CMakeLists.txt | ||
| LICENSE | ||
| readme.md | ||
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 |
|---|---|---|
![]() |
![]() |
![]() |
usage
sillyimage <input-file> [output-dir] [options]
options
-o,--outbasename output name-a,--alphatransparency threshold (0-255): colors with alpha value below this threshold will become fully transparent [default: 128]-a,--alphadisable transparency threshold-v,--verboseprints logs-h,--helpshows help message and exits--versionprints version information and exits
dependencies
license
GPL v3


