resize_media 1.0.0 icon indicating copy to clipboard operation
resize_media: ^1.0.0 copied to clipboard

PlatformiOS

Resize media files

resize_media #

Resize media to a given size

Features #

  • Pictures resize (currently only iOS)

To do #

  • Pictures resize Andorid side
  • Video resize

Install #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  resize_media: <latest_version>

In your library add the following import:

import 'package:resize_media/resize_media.dart';

Getting started #

Example:

ResizeMedia().image(
                path: fileImage.path,
                imageQuality: 1,
                maxWidth: 1920,
                maxHeight: 1920,
              );

Parameters #

Leave empty imageQuality,maxWidth,maxHeight to get the original image

1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Resize media files

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on resize_media