flutter_mozjpeg library
Classes
- FlutterMozjpeg
- A Flutter wrapper of Mozilla JPEG Encoder (mozjpeg).
- MozJpegEncodedResult
- JPEG compression result. You must call dispose after using it.
Enums
- MozJpegColorSpace
- Input color space and pixel layout.
Extensions
Functions
-
loadImageFromBytes(
Uint8List byteData) → Future< Image> - Helper function to load image from data bytes. It's just a wrapper function for ui.decodeImageFromList.
Typedefs
- MessageCallback = void Function(String)
- ProgressCallback = void Function(int pass, int totalPass, int percentage)
-
Progress callback receives
pass
,totalPass
and the progresspercentage
(%) on the pass.