gfx: fix misuse of export_2bpp_to_png

This commit is contained in:
yenatch 2013-11-18 21:05:59 -05:00
parent dfc88b9ac0
commit 3dac619f2d

View File

@ -1598,8 +1598,7 @@ if __name__ == "__main__":
name = os.path.splitext(argv[3])[0]
lz = open(name+'.lz', 'rb').read()
to_file(name+'.2bpp', Decompressed(lz, 'vert').output)
pic = open(name+'.2bpp', 'rb').read()
to_file(name+'.png', export_2bpp_to_png(pic))
export_2bpp_to_png(name+'.2bpp')
else:
export_lz_to_png(argv[2])