aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martínez <jjm@usebox.net>2021-06-08 20:52:46 +0100
committerGitHub <noreply@github.com>2021-06-08 20:52:46 +0100
commit804ae69f7c31d2f32b25a9f7ed0df21529dc4ff8 (patch)
tree1ebc7c1f67220cad05fcccd00d39912defeee69b
parentae19de1c2dcc160495fcffb198f9266cd52a36a5 (diff)
parentfd1295bd8a078d6909f294a8188cc543d21bff42 (diff)
downloadubox-msx-lib-804ae69f7c31d2f32b25a9f7ed0df21529dc4ff8.tar.gz
ubox-msx-lib-804ae69f7c31d2f32b25a9f7ed0df21529dc4ff8.zip
Merge pull request #7 from pvmm/master
png2sprites.py: documentation updated
-rw-r--r--docs/tools.md2
-rwxr-xr-xtools/png2sprites.py4
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 <jjm@usebox.net>",
+ parser = ArgumentParser(description="PNG to MSX sprites",
+ epilog="Copyright (C) 2019 Juan J Martinez <jjm@usebox.net>"
)
parser.add_argument(