v0.1.2
image_native_resizer
一個 Flutter 插件,透過原生 API 調整影像大小,同時保留重要的 EXIF 屬性。
16喜歡 14近 30 天下載40Pub 分數
平台暫無資料
一個 Flutter 插件,透過原生 API 調整影像大小,同時保留重要的 EXIF 屬性。
以下為英文專案原文快照,最新內容請造訪 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.
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗