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

Add support for Ultra HDR #869

Open
trlef19 opened this issue Jul 23, 2024 · 2 comments
Open

Add support for Ultra HDR #869

trlef19 opened this issue Jul 23, 2024 · 2 comments

Comments

@trlef19
Copy link

trlef19 commented Jul 23, 2024

It would be nice to have

@grishka
Copy link
Member

grishka commented Jul 23, 2024

(disclaimer: the newest Android device I own is a Pixel 4a and it doesn't support any of this so I can't test how Android handles it)

Ultra HDR needs extra metadata to display as, well, HDR. Right now, Mastodon strips that metadata, so after being processed by Mastodon, the image loses its Ultra-HDR-ness, as tested in Vivaldi on a MacBook Pro with one of these images (the highlights in the original files appear brighter than the #FFFFFF UI white when viewed in a Chromium browser, and after processing it becomes just a regular image).

So, I suggest that you create an issue in the main Mastodon repo about preserving that metadata during image processing. After that's done, I believe it should only be a matter of me setting some parameters to get the image viewer window to use the right display mode on devices that support it.

@trlef19
Copy link
Author

trlef19 commented Jul 31, 2024

Did it. Thanks

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