compressAndGetFile abstract method
Future<XFile?>
compressAndGetFile(
- String path,
- String targetPath, {
- int minWidth = 1920,
- int minHeight = 1080,
- int inSampleSize = 1,
- int quality = 95,
- int rotate = 0,
- bool autoCorrectionAngle = true,
- CompressFormat format = CompressFormat.jpeg,
- bool keepExif = false,
- int numberOfRetries = 5,
})
Implementation
Future<XFile?> compressAndGetFile(
String path,
String targetPath, {
int minWidth = 1920,
int minHeight = 1080,
int inSampleSize = 1,
int quality = 95,
int rotate = 0,
bool autoCorrectionAngle = true,
CompressFormat format = CompressFormat.jpeg,
bool keepExif = false,
int numberOfRetries = 5,
});