v0.1.2
image_native_resizer
중요한 EXIF 속성을 유지하면서 네이티브 API에서 이미지 크기를 조정하는 플러터 플러그인입니다.
16좋아요 1630일 다운로드40Pub 점수
플랫폼 정보 없음
중요한 EXIF 속성을 유지하면서 네이티브 API에서 이미지 크기를 조정하는 플러터 플러그인입니다.
{"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.