Reduce max photo attachment size to 1600x1600px

This reduces the file size with no clear quality change
This commit is contained in:
Sylvia van Os
2025-12-25 16:30:03 +01:00
parent e513ab4a09
commit bb8591b0ef

View File

@@ -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);