Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.27 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.27 KB

NOTE: This project has been superseded by the qualetize tool.

tilequant

Tile-based Image Quantization Tool

Purpose

This tool is mostly meant for GBA/NDS graphics, where each 'tile' can use one of many palettes. However, it can be adapted to just about any use (for example, custom formats).

Getting started

Run make to build the tool, then call tilequant Input.bmp Output.bmp -np:(no. of palettes) -ps:(entries/palette) (eg. tilequant Input.bmp Output.bmp -np:16 -ps:16 to use all sixteen 16-colour GBA palettes).

Examples

All conversions performed with -tilepasses:500 -colourpasses:500 -dither:ord8.

Palettes Result
Baseline truth Baseline truth
-np:1 1 palette
-np:2 2 palettes
-np:4 4 palettes
-np:8 8 palettes
-np:16 16 palettes

Authors

  • Ruben Nunez - Initial work - Aikku93
  • Marco Köpcke - Modifications and motivation for DLL interface - Parakoopa
  • zvezdochiot - Code and git cleanup - zvezdochiot