π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Set high minimum for compression
laurenspriem27af2c3bbc28
diff --git a/mobile/apps/photos/lib/utils/image_ml_util.dart b/mobile/apps/photos/lib/utils/image_ml_util.dartindex 49471ea87b..ea894c3781 100644--- a/mobile/apps/photos/lib/utils/image_ml_util.dart+++ b/mobile/apps/photos/lib/utils/image_ml_util.dart@@ -65,6 +65,8 @@ Future<DecodedImage> 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);final image = await decodeImageFromData(convertedData!);_logger.info('Conversion successful, jpeg decoded');