ImageCompressionOptions constructor

const ImageCompressionOptions({
  1. String? outputFormat,
  2. bool keepMetadata = true,
  3. Map<String, dynamic>? customOptions,
  4. int quality = 80,
  5. int? maxWidth,
  6. int? maxHeight,
  7. bool progressive = false,
  8. bool stripMetadata = false,
  9. String? format,
})

Implementation

const ImageCompressionOptions({
  super.outputFormat,
  super.keepMetadata,
  super.customOptions,
  this.quality = 80,
  this.maxWidth,
  this.maxHeight,
  this.progressive = false,
  this.stripMetadata = false,
  this.format,
});