v0.1.2
image_native_resizer
एक फ्लटर प्लगइन जो महत्वपूर्ण एक्सीफ संपत्तियों को बनाए रखते हुए मूल एपीआई से छवियों का आकार बदलता है।
16लाइक 1630-दिन डाउनलोड40Pub अंक
प्लेटफ़ॉर्म डेटा नहीं
एक फ्लटर प्लगइन जो महत्वपूर्ण एक्सीफ संपत्तियों को बनाए रखते हुए मूल एपीआई से छवियों का आकार बदलता है।
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Flutter plugin that resizes images from native API, while keeping important EXIF attributes.
First, add image_native_resizer as a dependency in your pubspec.yaml file.
import 'package:image_native_resizer/image_native_resizer.dart';
final localImagePath = /*** ***/;
final resizedPath = await ImageNativeResizer.resize(
imagePath: localImagePath,
maxWidth: 512,
maxHeight: 512,
quality: 50,
);
image_pickerThis 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.