summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2015-07-14 23:53:05 +0100
committerMatthew Hodgson <matthew@matrix.org>2015-07-14 23:53:13 +0100
commit8cedf3ce959ed1bd4d9c52a974bb097476f409f0 (patch)
treea09bdac3c0aa2a3cc2f799351efbad2e86ddc994 /synapse
parentMerge pull request #193 from matrix-org/erikj/bulk_persist_event (diff)
downloadsynapse-8cedf3ce959ed1bd4d9c52a974bb097476f409f0.tar.xz
bump up image quality a bit more as it looks crap
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/media/v1/thumbnailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/thumbnailer.py b/synapse/rest/media/v1/thumbnailer.py
index 28404f2b7b..1e965c363a 100644
--- a/synapse/rest/media/v1/thumbnailer.py
+++ b/synapse/rest/media/v1/thumbnailer.py
@@ -82,7 +82,7 @@ class Thumbnailer(object):
 
     def save_image(self, output_image, output_type, output_path):
         output_bytes_io = BytesIO()
-        output_image.save(output_bytes_io, self.FORMATS[output_type], quality=70)
+        output_image.save(output_bytes_io, self.FORMATS[output_type], quality=80)
         output_bytes = output_bytes_io.getvalue()
         with open(output_path, "wb") as output_file:
             output_file.write(output_bytes)