ente/thirdparty/flutter_image_compress/go/README.md
2021-01-21 16:19:12 +05:30

695 B

flutter_image_compress

This Go package implements the host-side of the Flutter flutter_image_compress plugin.

Usage

Import as:

import flutter_image_compress "github.com/openflutter/flutter_image_compress/go"

Then add the following option to your go-flutter application options:

flutter.AddPlugin(&flutter_image_compress.FlutterImageCompressPlugin{}),

Support

  • fileToFile

  • listToList

  • listToFile

  • minWidth

  • minHeight

  • rotate

  • quality

  • jpeg

  • png

  • keepExif

  • autoCorrectionAngle