-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Description
Version
latest
Platforms
Android
Device Model
all
flutter info
Future<File> testCompressAndGetFile(File file, String targetPath) async {
var result = await FlutterImageCompress.compressAndGetFile(
file.absolute.path, targetPath,
quality: 88,
rotate: 180,
);
print(file.lengthSync());
print(result.lengthSync());
return result;
}How to reproduce?
You've wrote here this "compressAndGetFile()" return XFIle and u have mention "File"..
Future testCompressAndGetFile(File file, String targetPath) async {
var result = await FlutterImageCompress.compressAndGetFile(
file.absolute.path, targetPath,
quality: 88,
rotate: 180,
);
print(file.lengthSync());
print(result.lengthSync());
return result;
}
Logs
Example code (optional)
Contact
No response
Metadata
Metadata
Assignees
Labels
No labels