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
commit604cafc27859700e45f4c54237b54f3c584cf458 (patch)
tree2356f19d765a85471f3d9786f3c595c04b561f1f
parenta1b9fdc9c92279bef7383e8c8278934ca2889de8 (diff)
gfx: lz to png from command line
-rw-r--r--extras/gfx.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/gfx.py b/extras/gfx.py
index 0a2d60dfa..53f954b21 100644
--- a/extras/gfx.py
+++ b/extras/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]