removed DNG metadata editing
This commit is contained in:
parent
1101400ae2
commit
168cdc1702
2 changed files with 6 additions and 1 deletions
|
@ -15,6 +15,10 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
- Viewer: quick action defaults
|
||||
|
||||
### Removed
|
||||
|
||||
- metadata editing support for DNG
|
||||
|
||||
### Fixed
|
||||
|
||||
- app launch despite faulty storage volumes on Android 11+
|
||||
|
|
|
@ -258,9 +258,10 @@ class AvesEntry {
|
|||
bool get canRotateAndFlip => canEdit && canEditExif;
|
||||
|
||||
// as of androidx.exifinterface:exifinterface:1.3.3
|
||||
// `exifinterface` declares support for DNG, but `exifinterface` strips non-standard Exif tags when saving attributes,
|
||||
// and DNG requires DNG-specific tags saved along standard Exif. So `exifinterface` actually breaks DNG files.
|
||||
bool get canEditExif {
|
||||
switch (mimeType.toLowerCase()) {
|
||||
case MimeTypes.dng:
|
||||
case MimeTypes.jpeg:
|
||||
case MimeTypes.png:
|
||||
case MimeTypes.webp:
|
||||
|
|
Loading…
Reference in a new issue