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 ↗