From bb8591b0eff43f5f7695b61185f0ce7bb0b5648c Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Thu, 25 Dec 2025 16:30:03 +0100 Subject: [PATCH] Reduce max photo attachment size to 1600x1600px This reduces the file size with no clear quality change --- app/src/main/java/protect/card_locker/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/protect/card_locker/Utils.java b/app/src/main/java/protect/card_locker/Utils.java index 1d46955f9..332f68628 100644 --- a/app/src/main/java/protect/card_locker/Utils.java +++ b/app/src/main/java/protect/card_locker/Utils.java @@ -118,7 +118,7 @@ public class Utils { static final double LUMINANCE_MIDPOINT = 0.5; static final int BITMAP_SIZE_SMALL = 512; - static final int BITMAP_SIZE_BIG = 2048; + static final int BITMAP_SIZE_BIG = 1600; static public LetterBitmap generateIcon(Context context, LoyaltyCard loyaltyCard, boolean forShortcut) { return generateIcon(context, loyaltyCard.store, loyaltyCard.headerColor, forShortcut);