Comments (8)
Ignore previous response if seen, misunderstood the question.
I'm still looking over the specs, though Phil might be quicker on the subject, but the relevant line might be this from page 36 of the EXIF 3.0 standard, section 4.6.1. There it mentions tags that might be mandatory in the TIFF standard.
I think the relevant part of the TIFF 6 specs is page 94.
Screenshot of the section
from exiftool.
You're right about this. It is manditory for JPEG and YCC TIFF images, but actually not allowed for chunky and planar TIFFs.
Mandatory tags are a huge pain in the ass. I don't understand why there can't just be default values if they don't exist. The problem is that the code will need a re-work to write this conditionally based on the type of the image. :(
- Phil
from exiftool.
Until a better fix is available, the adding of the tag could be suppressed if the "-ignoreMinorErrors" switch, or some new one(s), is given.?
It is doubtful to me to declare this a non-minor error.
The drawback is that extending -ignoreMinorErrors would be another backward-incompatible change.
from exiftool.
To go further, I'd prefer two things.
-
These tags should not be added automatically too, apart from ExifVersion maybe.
IFD0:XResolution
IFD0:YResolution
IFD0:ResolutionUnit
ExifIFD:ExifVersion
ExifIFD:FlashpixVersion
ExifIFD:ColorSpace -
Even if mandatory tags are handled correctly, add as few mandatory tags as possible if the user request so.
Anyway, Thanks a lot!
from exiftool.
I was planning a release for today and didn't have time to fix this properly (not sure if it is worth that effort), so instead I have added an API NoMandatory option https://exiftool.org/ExifTool.html#NoMandatory to allow you to bypass the creation of all mandatory tags in EXIF.
- Phil
from exiftool.
I'll close this as complete since the NoMandatory option was released in version 12.71
from exiftool.
from exiftool.
OMG stop slumming me!!!
…
On Wed, 3 Jan 2024 at 18:03, Phil Harvey @.> wrote: Closed #236 <#236> as completed. — Reply to this email directly, view it on GitHub <#236 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBOCTIUB5HZU4265NBKZIWLYMVXMNAVCNFSM6AAAAABA5DU5C6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGM4DAMJUHAZDANA . You are receiving this because you are subscribed to this thread.Message ID: @.>
There's nothing we can do. You are getting emails from this because GitHub automatically will send you notifications to any repository you "Watch". The email literally has an unsubscribe link. Click that and you won't get any more emails.
Or in the upper left corner, click the "exiftool" link on the right, and click "Unwatch" in the upper right. You can change notification settings there or stop watching this repository.
from exiftool.
Related Issues (20)
- Artistic License Version HOT 1
- Error accessing MIE files in version 12.74 HOT 3
- JSON detected as wrong type if array containing object is MIMEtype HOT 1
- Missing TIFF-EPStandardID interpretation HOT 2
- Clarify JXL read/write support HOT 2
- "-*=" conflicting with "PNG-pHYs" tags HOT 7
- Encode mp3 tags in UTF8 HOT 9
- Microsoft Xtra tags - expand writable tags HOT 16
- Unable to update MAKE tag using exiftool 12.76 HOT 3
- consider a default behavior of reading mkv tags after the first cluster if indexed in the seekhead HOT 4
- Problematic handling of non-ASCII filenames on Windows HOT 21
- New Samsung GCamera XMP tags HOT 13
- [Suggestion] Report more modern variant of TTF MIME type?
- [Suggestion] New way of representing Palette in human-readable format HOT 4
- Firmware Versions, Canon 7D (or - strangeness recovering certain data) HOT 3
- [Enhancement] TIFF metadata stripping HOT 3
- Add Character Count too? ("Document" type) HOT 2
- Deployment instruction HOT 4
- Is exiftool.org down completely? HOT 1
- `-J` exports incorrectly outputs ExifToolVersion as a float HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exiftool.