FLUTTER ECOSYSTEM

aloisdeniel/image_native_resizer

Ein Flutter-Plugin, das Bilder über die Native-API verkleinert, während wichtige EXIF-Attribute erhalten bleiben.

Projektcover von image_native_resizer
Stars
11
Forks
2
Letzter Push (UTC)
23.06.2020
Projektstatus
Aktiv
Aloïs Deniel GitHub avatar
GITHUB User

Aloïs Deniel ↗

Flutter Freelance

FreelanceRennes, FranceOffizielle Website ↗
SprachenObjective-CJavaDartRuby

Technische Themen

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 2 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

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.