Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better way to handle Tiff/Exif Sub IFD #17

Open
dragon66 opened this issue Mar 11, 2023 · 0 comments
Open

Better way to handle Tiff/Exif Sub IFD #17

dragon66 opened this issue Mar 11, 2023 · 0 comments

Comments

@dragon66
Copy link
Owner

For now, there is a one on one approach when it comes to manage Tiff/Exif fields which are pointers to sub IFDs. For now the approach is one on one which is not flexible and awkward when adding to the library.

A better way needs to be find for this.

Some thoughts:

  1. Add new boolean ifSubIFD to Tag class.
  2. Override in each tag class to provide default implementation - new Java version makes this easier to add default to Tag interface.
  3. Override in each tag definition which is points to a sub IFD.
  4. Use this information in reading and processing IFD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant