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

Do not detect Ultra HDR images as MPO #8056

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

radarhere
Copy link
Member

Resolves #8052

The Ultra HDR format stores its gain map as an additional MPO image. However, as the issue has found, because we do not support Ultra HDR images, the additional image appears incorrectly.

Instead, this PR treats such files as standard JPEGs.

https://developer.android.com/media/platform/hdr-image-format#signal_of_the_format details how this format can be detected.

A JPEG file conforming to this format may be identified by the presence of hdrgm:Version="1.0" in the primary image's XMP packet

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.

Is this MPO file decoded correctly?
1 participant