ImageProcess constructor
ImageProcess(
- Uint8List imageBytes, {
- required int encodingQuality,
- String? workerPath,
- required OutputImageFormat outputImageFormat,
Implementation
ImageProcess(this.imageBytes, {required this.encodingQuality, String? workerPath, required this.outputImageFormat}) {
worker = html.Worker(workerPath ?? 'worker.js');
}