-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Description
String path =
(await getApplicationDocumentsDirectory()).path + "/$uuid.webp";
var result = await FlutterImageCompress.compressAndGetFile(
file.absolute.path, path,
format: CompressFormat.webp,
quality: 70,
);
String path2 =
(await getApplicationDocumentsDirectory()).path + "/$uuid.jpeg";
var result2 = await FlutterImageCompress.compressAndGetFile(
file.absolute.path, path2,
format: CompressFormat.jpeg,
quality: 70,
);
print(result.lengthSync());
print(result2.lengthSync());
in android
Why are result1 and result2 the same size?
Metadata
Metadata
Assignees
Labels
No labels