Actually call the newly created condense_image_to_map.

This commit is contained in:
yenatch 2015-10-24 18:05:47 -07:00
parent e6ebf8af07
commit 119245c5e9

View File

@ -1220,9 +1220,9 @@ def png_to_2bpp(filein, **kwargs):
image = deinterleave_tiles(image, num_columns)
if arguments['pic_dimensions']:
image, tmap = condense_tiles_to_map(image, w * h)
image, tmap = condense_image_to_map(image, w * h)
elif arguments['norepeat']:
image, tmap = condense_tiles_to_map(image)
image, tmap = condense_image_to_map(image)
if not arguments['tilemap']:
tmap = None