Search packages, repositories and app categories

GitHub repositoryaloisdeniel/image_native_resizer

image_native_resizer

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

image_native_resizer project cover
Stars
11
Forks
2
Last push (UTC)
Jun 23, 2020
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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.

Aloïs Deniel GitHub avatar
GitHub author

Aloïs Deniel ↗

Flutter Freelance

FreelanceRennes, FranceOfficial website ↗
LanguagesObjective-CJavaDartRuby

Categories

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗