-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Refactor TIFF decoding #1301
Refactor TIFF decoding #1301
Conversation
It looks like the library may not be static. That needs to be fixed. |
Is this still a draft or ready for merging? |
@farindk if you are OK with the design then I am OK with this as an initial implementation that we can build onto. |
Yes, I can merge this and then I would reorganize the files a bit: move the |
Merged with rebase. |
This is an initial rework of the TIFF decoder support, in preparation for reading other data types and higher bit depths.
Because this code is starting to get tricky, I really wanted unit tests. Also, this is looking like code that would be useful in general - not just for the specific examples. In support of that, I've made it into a library - notionally
libheifio
, but I'm flexible on the name. It doesn't get provided as API yet. It has error handling, not justexit()
calls.Resolves #1300
Also resolves a failure reading RGBA planar files.