diff options
Diffstat (limited to 'experiments/conv/png2pc')
-rwxr-xr-x | experiments/conv/png2pc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/experiments/conv/png2pc b/experiments/conv/png2pc index 21b3b29..8d7a808 100755 --- a/experiments/conv/png2pc +++ b/experiments/conv/png2pc @@ -38,9 +38,9 @@ def png2pc(data): img = img.quantize(palette=palette_img) draw = ImageDraw.Draw(img) - draw.rectangle(((0, 0), (24, img.height)), fill=0) - draw.rectangle(((252, 0), (256, img.height)), fill=0) - draw.rectangle(((24, 0), (79, 16)), fill=0) + draw.rectangle(((0, 0), (23, img.height - 1)), fill=0) + draw.rectangle(((252, 0), (255, img.height - 1)), fill=0) + draw.rectangle(((24, 0), (78, 15)), fill=0) output = b"" for tile_idx in range(tile_count): |