diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-14 19:46:07 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-14 19:46:07 -0400 |
commit | ccbdbb668cdb6183b74b8f79cb49e26ab93146f8 (patch) | |
tree | 99b0dd6cf95ab5ff416abf4b881e07416ef45da5 /tools/palfix.py | |
parent | e1e74bf039a7e0d09edea0ce221fd36ea26d7006 (diff) |
Remove pokemontools and gfx.py; update PyPNG and standardize on Python 3
Diffstat (limited to 'tools/palfix.py')
-rwxr-xr-x | tools/palfix.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/palfix.py b/tools/palfix.py index 8d53d35e..2ecd3236 100755 --- a/tools/palfix.py +++ b/tools/palfix.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @@ -9,10 +9,9 @@ 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 -from pokemontools import png + +import png def rgb8_to_rgb5(c): r, g, b = c |