cropImage method

  1. @override
Future<Uint8List?> cropImage(
  1. Uint8List imageBytes,
  2. int sx,
  3. int sy,
  4. int sw,
  5. int sh,
  6. int dx,
  7. int dy,
  8. int dw,
  9. int dh,
  10. double quality,
  11. ImageExportType imageExportType,
  12. 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,
  );
}