From 329451dce4c402bb15860e617564a26dcc434840 Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Sun, 7 Feb 2016 13:06:12 +0100 Subject: [PATCH] increase jpeg quality from 80 to 85 This results in about the same filesize as a 90q-webp --- src/ch/blinkenlights/android/vanilla/CoverCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/blinkenlights/android/vanilla/CoverCache.java b/src/ch/blinkenlights/android/vanilla/CoverCache.java index 4fe2d7cb..aa8300f8 100644 --- a/src/ch/blinkenlights/android/vanilla/CoverCache.java +++ b/src/ch/blinkenlights/android/vanilla/CoverCache.java @@ -325,7 +325,7 @@ public class CoverCache { ByteArrayOutputStream out = new ByteArrayOutputStream(); // We store a lossy version as this image was // created from the original source (and will not be re-compressed) - cover.compress(Bitmap.CompressFormat.JPEG, 80, out); + cover.compress(Bitmap.CompressFormat.JPEG, 85, out); Random rnd = new Random(); long ttl = getUnixTime() + rnd.nextInt(OBJECT_TTL);