FLUTTER ECOSYSTEM

aloisdeniel/image_native_resizer

एक फ्लटर प्लगइन जो महत्वपूर्ण एक्सीफ संपत्तियों को बनाए रखते हुए मूल एपीआई से छवियों का आकार बदलता है।

image_native_resizer प्रोजेक्ट कवर
Stars
11
Forks
2
अंतिम पुश (UTC)
23 जून 2020
प्रोजेक्ट स्थिति
सक्रिय
Aloïs Deniel GitHub avatar
GITHUB User

Aloïs Deniel ↗

Flutter Freelance

भाषाएँObjective-CJavaDartRuby

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

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.