From fd1295bd8a078d6909f294a8188cc543d21bff42 Mon Sep 17 00:00:00 2001 From: Pedro de Medeiros Date: Tue, 8 Jun 2021 16:46:08 -0300 Subject: png2sprites.py: documentation updated --- docs/tools.md | 2 +- tools/png2sprites.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tools.md b/docs/tools.md index ee42261..ec8b56f 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -14,7 +14,7 @@ TODO ### png2sprites.py -TODO +The png2sprites.py tool converts an image that is a multiple of 16x16 into multiple sprites. Sprites are also separated by colour values. Dark grey (#1c1c1c) is assigned to transparent in the MSX colour index. ### map.py diff --git a/tools/png2sprites.py b/tools/png2sprites.py index 59a9ef0..af9b83e 100755 --- a/tools/png2sprites.py +++ b/tools/png2sprites.py @@ -49,8 +49,8 @@ def to_hex_list_str_asm(src): def main(): - parser = ArgumentParser(description="PNG to MSX spites", - epilog="Copyright (C) 2019 Juan J Martinez ", + parser = ArgumentParser(description="PNG to MSX sprites", + epilog="Copyright (C) 2019 Juan J Martinez " ) parser.add_argument( -- cgit v1.2.3