Giter Site home page Giter Site logo

Comments (8)

StarGeekSpaceNerd avatar StarGeekSpaceNerd commented on June 11, 2024

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
Image

from exiftool.

boardhead avatar boardhead commented on June 11, 2024

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.

pkrause1980 avatar pkrause1980 commented on June 11, 2024

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.

pkrause1980 avatar pkrause1980 commented on June 11, 2024

To go further, I'd prefer two things.

  1. These tags should not be added automatically too, apart from ExifVersion maybe.
    IFD0:XResolution
    IFD0:YResolution
    IFD0:ResolutionUnit
    ExifIFD:ExifVersion
    ExifIFD:FlashpixVersion
    ExifIFD:ColorSpace

  2. 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.

boardhead avatar boardhead commented on June 11, 2024

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.

boardhead avatar boardhead commented on June 11, 2024

I'll close this as complete since the NoMandatory option was released in version 12.71

from exiftool.

CHO1O avatar CHO1O commented on June 11, 2024

from exiftool.

StarGeekSpaceNerd avatar StarGeekSpaceNerd commented on June 11, 2024

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.
firefox-2024-01-03_07 31 49

from exiftool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.