Remove pokemontools and gfx.py; update PyPNG and standardize on Python 3

This commit is contained in:
Rangi
2022-03-14 19:38:06 -04:00
parent cfa47e8c78
commit 61faca1f91
10 changed files with 2363 additions and 4441 deletions

View File

@@ -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