v0.1.2
image_native_resizer
重要な EXIF 属性を保持しながら、ネイティブ API から画像のサイズを変更する Flutter プラグイン。
16いいね 1630日間ダウンロード40Pub ポイント
プラットフォーム情報なし
重要な EXIF 属性を保持しながら、ネイティブ API から画像のサイズを変更する Flutter プラグイン。
{"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.