WebPEncoder constructor

WebPEncoder({
  1. int format = LOSSY,
  2. num quality = 100,
})

format can be LOSSY or LOSSLESS. quality is controls lossy compression, in the range 0 (smallest file) and 100 (biggest).

Implementation

WebPEncoder({this.format = LOSSY, this.quality = 100});