From 689edebec4fbc1592581ef3392cad856a467469d Mon Sep 17 00:00:00 2001 From: laurenspriem Date: Wed, 16 Jul 2025 13:29:53 +0200 Subject: [PATCH] Increase limit to 20000 --- mobile/apps/photos/lib/utils/image_ml_util.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/apps/photos/lib/utils/image_ml_util.dart b/mobile/apps/photos/lib/utils/image_ml_util.dart index ea894c3781..ffecd69db5 100644 --- a/mobile/apps/photos/lib/utils/image_ml_util.dart +++ b/mobile/apps/photos/lib/utils/image_ml_util.dart @@ -65,8 +65,8 @@ Future decodeImageFromPath( await FlutterImageCompress.compressWithFile( imagePath, format: CompressFormat.jpeg, - minWidth: 8000, // High value to ensure image is not scaled down - minHeight: 8000, // High value to ensure image is not scaled down + minWidth: 20000, // High value to ensure image is not scaled down + minHeight: 20000, // High value to ensure image is not scaled down ); final image = await decodeImageFromData(convertedData!); _logger.info('Conversion successful, jpeg decoded');