summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-05-17 02:05:26 -0400
committeryenatch <yenatch@gmail.com>2013-05-18 04:46:52 -0400
commitb4d2e0eb00602c0e100229f74849b38dc2381921 (patch)
treeec88931e6dc796137e021ae02b9561f4cb22ef34
parentcbdf84afda89cac918057e35b5b2082fd65d3839 (diff)
gfx: lz to png from command line
original-commit-id: 604cafc27859700e45f4c54237b54f3c584cf458
-rw-r--r--gfx.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx.py b/gfx.py
index 0a2d60d..53f954b 100644
--- a/gfx.py
+++ b/gfx.py
@@ -1525,6 +1525,9 @@ if __name__ == "__main__":
if sys.argv[1] == 'dump-pngs':
mass_to_colored_png()
+ elif sys.argv[1] == 'lz-to-png':
+ lz_to_png_by_file(sys.argv[2])
+
elif sys.argv[1] == 'png-to-lz':
# python gfx.py png-to-lz [--front anim(2bpp) | --vert] [png]