image_compression library

Manages the image compression, cropping and resizing.

Functions

compressImage(File imageFile) → Future<File>
Compresses the image picture, passed as File.
cropImage(File imageFile) → Future<File>
Crops and compresses an image, as File. It is used to compress the profile pictures.