#444 Qualität der Fotos auf 75% reduziert.
This commit is contained in:
1 parent
eb2ffab6cd
commit
d7b49e2b66
1 file changed
+1
-1
@@ -31,7 +31,7 @@ Future<void> showTakePhotosPopup(BuildContext context, TaskInfo taskInfo, Functi
|
|||||||
if (image != null) {
|
if (image != null) {
|
||||||
var thumbnail = imageLib.copyResize(image, width: 800);
|
var thumbnail = imageLib.copyResize(image, width: 800);
|
||||||
|
|
||||||
var resizedImageData = imageLib.encodeJpg(thumbnail);
|
var resizedImageData = imageLib.encodeJpg(thumbnail, quality: 75);
|
||||||
|
|
||||||
photo.delete();
|
photo.delete();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user