diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-09-26 22:14:37 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-09-26 22:14:37 -0400 |
commit | e315a38db4c9a13f70d662fc40bb2a948415e47e (patch) | |
tree | ba495755cf1d6823b6ae0ee69aa991fd8832f960 /tools/palfix.py | |
parent | dc1a06ba05579abe215ceaf601d24c8d60558cb6 (diff) |
Port rewritten tools from pokecrystal
Diffstat (limited to 'tools/palfix.py')
-rwxr-xr-x | tools/palfix.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/palfix.py b/tools/palfix.py index 20c9ef29..8d53d35e 100755 --- a/tools/palfix.py +++ b/tools/palfix.py @@ -1,6 +1,14 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +""" +Usage: python palfix.py image.png + +Fix the palette format of the input image. Colored images (Pokémon or trainer +sprites) will become indexed, with a palette sorted {white, light color, dark +color, black}. Grayscale images will become two-bit grayscale. +""" + from __future__ import print_function import sys |