image_native_resizer 0.1.2
image_native_resizer: ^0.1.2

Flutter Android iOS

A Flutter plugin that resizes images from native API, while keeping important EXIF attributes.

image_native_resizer #

pub package

A Flutter plugin that resizes images from native API, while keeping important EXIF attributes.

Installation #

First, add image_native_resizer as a dependency in your pubspec.yaml file.

Quickstart #

import 'package:image_native_resizer/image_native_resizer.dart';

final localImagePath = /*** ***/;
final resizedPath = await ImageNativeResizer.resize(
    imagePath: localImagePath,
    maxWidth: 512,
    maxHeight: 512,
    quality: 50,
);

Inspired by image_picker #

This plugin is almost identitical to the official image_picker plugin. Serveral internal files from the plugin are used to implement the resizing logic, this plugin is just exposing them through a platform channel.

7
likes
100
pub points
75%
popularity

Publisher

aloisdeniel.com

A Flutter plugin that resizes images from native API, while keeping important EXIF attributes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on image_native_resizer