removed alpha channel from map before sending, to further reduce bandwidth abuse
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user