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

AVIF HDR images with only CICP metadata aren't handled gracefully #214

Open
juliobbv-p opened this issue Jan 23, 2025 · 1 comment
Open

Comments

@juliobbv-p
Copy link

juliobbv-p commented Jan 23, 2025

  1. Download this HDR image (rename extension to .avif after download)
  2. Upload image to Discord

Expected

A preview image that's either HDR (like the source image), or it's reasonably tonemapped to SDR

Observed

A preview image that has very muted colors and it's hard to make out details

Source image Preview image
Image Image

Notes

Source image doesn't have an ICC profile embedded -- colorimetry information is provided solely by CICP metadata. This is common in AVIFs sourced from video captures.

@skidder
Copy link
Contributor

skidder commented Jan 24, 2025

Thanks for posting this issue! I'll aim for this to be fixed in the next patch release of Lilliput, and Discord shortly thereafter.

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

No branches or pull requests

2 participants