smeargle.py: Drop to 8-bit indexes in PNG output.
parent
137ec2afdc
commit
c128e2b749
|
@ -158,6 +158,7 @@ def main():
|
||||||
column = 0
|
column = 0
|
||||||
row += height
|
row += height
|
||||||
painter.end()
|
painter.end()
|
||||||
|
image = image.convertToFormat(QImage.Format_Indexed8)
|
||||||
|
|
||||||
print('Writing line <-> tilemap indexing...')
|
print('Writing line <-> tilemap indexing...')
|
||||||
with open(script_base + '_index.txt', mode='w') as f:
|
with open(script_base + '_index.txt', mode='w') as f:
|
||||||
|
|
Loading…
Reference in New Issue