aboutsummaryrefslogtreecommitdiff
path: root/experiments/conv/png2pc
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-08 00:57:54 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-08 00:57:54 +0200
commitf431d42a5eb582a190abcd4ca1e12f1e9794f688 (patch)
tree94389535e753ed3aaa597fae23ddf3b53db7e2e4 /experiments/conv/png2pc
parent4bd0256448a5b0d6f4ecf02f224c48d66d7b4ef4 (diff)
WIP epic title page
Diffstat (limited to 'experiments/conv/png2pc')
-rwxr-xr-xexperiments/conv/png2pc6
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):