DecodeParams constructor

DecodeParams({
  1. int imageFormat = ImageFormat.lum,
  2. int format = Format.any,
  3. int width = 0,
  4. int height = 0,
  5. int cropLeft = 0,
  6. int cropTop = 0,
  7. int cropWidth = 0,
  8. int cropHeight = 0,
  9. bool tryHarder = false,
  10. bool tryRotate = true,
  11. bool tryInverted = false,
  12. int maxSize = 768,
  13. bool isMultiScan = false,
})

Implementation

DecodeParams({
  this.imageFormat = ImageFormat.lum,
  this.format = Format.any,
  this.width = 0,
  this.height = 0,
  this.cropLeft = 0,
  this.cropTop = 0,
  this.cropWidth = 0,
  this.cropHeight = 0,
  this.tryHarder = false,
  this.tryRotate = true,
  this.tryInverted = false,
  this.maxSize = 768,
  this.isMultiScan = false,
});