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

Use ImageItem_Error for items with parse errors #1332

Merged
merged 6 commits into from
Oct 13, 2024
Merged

Conversation

farindk
Copy link
Contributor

@farindk farindk commented Oct 10, 2024

Not sure whether this is a good idea...

Similar to Box_Error, we could have an ImageItem_Error, serving as a placeholder for any image item that had parse errors or that we do not support (#1331). This allows us to have better error messages like this one:

$ heif-dec geo.heif out.jpg
Could not read HEIF/AVIF image 0: Unsupported feature: Unsupported image type: Image item of type 'unci' is not supported.

However, having non-decodable image items in our image list will probably introduce issues all over the place.
Thus, I am not sure if it is worth it.

@farindk farindk marked this pull request as ready for review October 13, 2024 17:40
@farindk farindk merged commit 32441d3 into master Oct 13, 2024
3 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant