removed alpha channel from map before sending, to further reduce bandwidth abuse

master
Marek Baczynski 6 years ago
parent 1234bdfa14
commit 513cc34bdd

@ -39,7 +39,7 @@ def requires_auth(f):
def serveImage(img):
img_io = BytesIO()
img.save(img_io, 'PNG')
img.convert("RGB").save(img_io, 'PNG')
img_io.seek(0)
return send_file(img_io, mimetype='image/png')

Loading…
Cancel
Save