diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-09-02 18:48:17 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-09-02 18:48:17 -0400 |
commit | 868e28f309ec8d08bcdea913c3fc53b0ef55315f (patch) | |
tree | 5e5d9a60fe1859960193ba166d09006c9cc4cc81 /tools/palfix.py | |
parent | 021702628c984294247e2a592fa107f5d8e3288a (diff) |
Update usage doc comments for some tools/*.py scripts
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 20c9ef29c..8d53d35e7 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 |