From 2dffabcf083f08a986d634fd6210dd743ab4474d Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Tue, 19 May 2009 21:16:42 +0200 Subject: [PATCH] changed output format to PNG because it has transparency --- pyweb/mumble/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyweb/mumble/views.py b/pyweb/mumble/views.py index ee5bdff..c61d195 100644 --- a/pyweb/mumble/views.py +++ b/pyweb/mumble/views.py @@ -136,8 +136,8 @@ def showTexture( request, server ): raise Http404(); else: buffer = StringIO(); - img.save( buffer, "JPEG" ); - return HttpResponse( buffer.getvalue(), "image/jpeg" ); + img.save( buffer, "PNG" ); + return HttpResponse( buffer.getvalue(), "image/png" ); raise Http404(); def showContent( server, user = None ):