ImageOptimizerWebPJob constructor

ImageOptimizerWebPJob({
  1. String wandKey = "wand",
  2. double initialStepMultiplier = 10,
  3. int initialQuality = 75,
  4. double stepMultiplierCutoff = 1.05,
  5. int maxDimension = 1024,
  6. int maxBytes = 1024 * 1024,
  7. int maxAttempts = 15,
  8. int plentifulSpaceQualityThreshold = 95,
  9. required File output,
  10. PixelInterpolateMethod interpolateMethod = PixelInterpolateMethod.BilinearInterpolatePixel,
})

Implementation

ImageOptimizerWebPJob({
  super.wandKey = "wand",
  this.initialStepMultiplier = 10,
  this.initialQuality = 75,
  this.stepMultiplierCutoff = 1.05,
  this.maxDimension = 1024,
  this.maxBytes = 1024 * 1024,
  this.maxAttempts = 15,
  this.plentifulSpaceQualityThreshold = 95,
  required this.output,
  this.interpolateMethod = PixelInterpolateMethod.BilinearInterpolatePixel,
});