compressAssetImage abstract method

Future<Uint8List?> compressAssetImage(
  1. String assetName, {
  2. int minWidth = 1920,
  3. int minHeight = 1080,
  4. int quality = 95,
  5. int rotate = 0,
  6. bool autoCorrectionAngle = true,
  7. CompressFormat format = CompressFormat.jpeg,
  8. bool keepExif = false,
})

Implementation

Future<typed_data.Uint8List?> compressAssetImage(
  String assetName, {
  int minWidth = 1920,
  int minHeight = 1080,
  int quality = 95,
  int rotate = 0,
  bool autoCorrectionAngle = true,
  CompressFormat format = CompressFormat.jpeg,
  bool keepExif = false,
});