Change min Width/Height value during compress

This commit is contained in:
Neeraj Gupta
2025-08-11 11:32:34 +05:30
parent fc0b86ffe6
commit 36d45c7774

View File

@@ -502,7 +502,11 @@ class _ZoomableImageState extends State<ZoomableImage> {
quality: 85,
);
} else {
compressedFile = await FlutterImageCompress.compressWithFile(file.path);
compressedFile = await FlutterImageCompress.compressWithFile(
file.path,
minHeight: 8000,
minWidth: 8000,
);
}
if (compressedFile != null) {