image_compression library Null safety

Library image compression

Classes

Configuration
The configuration options for compressing image
ImageFile
The image file input for compressing
ImageFileConfiguration
The wrapper object for ImageFile and Configuration

Extensions

PngCompressionExtension

Functions

compress(ImageFileConfiguration param) ImageFile
Compress image file input synchronously
compressInQueue(ImageFileConfiguration param) Future<ImageFile>
Compress image file input asynchronously

Enums

OutputType
The output type of image file
PngCompression
The PNG compression level