Load a .gpl palette into a indexed .png image. GIMP and mtPaint can create and use .gpl palettes. This program can be used in makefiles etc. ./loadgpl.py image.png palette.gpl [output.png] This needs https://github.com/drj11/pypng