cropImage method
Future<Uint8List?>
cropImage(
- Uint8List imageBytes,
- int sx,
- int sy,
- int sw,
- int sh,
- int dx,
- int dy,
- int dw,
- int dh,
- double quality,
- ImageExportType imageExportType,
- bool allowUnequalAspectRatio,
override
Implementation
@override
Future<Uint8List?> cropImage(Uint8List imageBytes, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh,
double quality, ImageExportType imageExportType, bool allowUnequalAspectRatio) async {
return await CreamOfTheCropPlatform.instance.cropImage(
imageBytes,
sx,
sy,
sw,
sh,
dx,
dy,
dw,
dh,
quality,
imageExportType,
allowUnequalAspectRatio,
);
}