照片元数据处理,解决地理信息的读写问题(支持GPS坐标修正)
| Files | Last commit | Last update |
|---|
| update flutter sdk range | 6 years ago |
| fix: 修复flutter_exif_plugin安卓端编译报错 Signed-off-by: houahui <houahui1@h-partners.com> | 8 months ago |
| 补齐example里面测试的接口 Signed-off-by: Wangzhipeng520 <wangzhipeng61@h-partners.com> | 5 months ago |
| change plugin name to flutter_exif_plugin | 6 years ago |
| [REQ]flutter_exif_plugin 鸿蒙化 Signed-off-by: 张希希 <zhangxixi8@h-partners.com> | 9 months ago |
| 修复getAttributeRange解决选择部分照片报错问题 Signed-off-by: Wangzhipeng520 <wangzhipeng61@h-partners.com> | 5 months ago |
| [REQ]flutter_exif_plugin 鸿蒙化 Signed-off-by: 张希希 <zhangxixi8@h-partners.com> | 9 months ago |
| remove .idea files | 6 years ago |
| first commit | 6 years ago |
| docs(master):修改文档tag为正式版本 Signed-off-by: qq_54551695 <fuxinxin4@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 3 months ago |
| bump version | 4 years ago |
| add license | 6 years ago |
| [REQ]flutter_exif_plugin 鸿蒙化 Signed-off-by: 张希希 <zhangxixi8@h-partners.com> | 9 months ago |
| fix:处理检视意见 Signed-off-by: qq_54551695 <fuxinxin4@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 3 months ago |
| fix:处理检视意见 Signed-off-by: qq_54551695 <fuxinxin4@h-partners.com> AI[0%] Human Fixed[0%] Human[100%] AI Adopted[0%] | 3 months ago |
| add documentation | 6 years ago |
| feat: buildEnv修改FLUTTER_SDK_VERSION及增加约束与限制的兼容性,支持flutter ohos3.35版本 Signed-off-by: wuleilei3 <wuleilei3@h-partners.com> | 8 months ago |
| Add setAltitude method and upgrade dependencies. Cleanup code. | 4 years ago |
| [REQ]flutter_exif_plugin 鸿蒙化 Signed-off-by: 张希希 <zhangxixi8@h-partners.com> | 9 months ago |
Flutter Exif
A flutter plugin for reading and writing Exif tags in various file formats.
Note: Only android is currently supported
Getting started
Edit image from bytes
final Uint8List imageData = image.toBytes();
final exif = ExifFlutter.fromBytes(imageData);
await exif.setAttribute(UserComment, "my comment");
await exif.rotate(20);
await exif.saveAttributes();
final modifiedImage = await exif.imageData;
Edit image from path
note: To use the path based constructor you will have to apply the following permissions to your manifest file.
- WRITE_EXTERNAL_STORAGE
- READ_EXTERNAL_STORAGE
final pathToImage = "/path/to/image";
final exif = ExifFlutter.fromPath(pathToImage);
exif.setAttribute(UserComment, "my comment");
exif.rotate(20);
exif.saveAttributes()
照片元数据处理,解决地理信息的读写问题(支持GPS坐标修正)
Customize your domain