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

Support for UltraHDR Images #1110

Open
apparle opened this issue Apr 2, 2024 · 0 comments
Open

Support for UltraHDR Images #1110

apparle opened this issue Apr 2, 2024 · 0 comments
Labels
feature New feature or request

Comments

@apparle
Copy link

apparle commented Apr 2, 2024

Is your feature request related to a problem? Please describe.
A new Ultra HDR image format (https://developer.android.com/media/platform/hdr-image-format) using the JPEG_R container was recently introduced (by Google?). And latest phone (Eg: Pixel 8) cameras capture in this format. The Android app & memories does not support displaying (or scaling) these Ultra HDR Images. So such images are shown with poorer brightness when viewed through the Memories.

Describe the solution you'd like
There are 2 missing pieces:

  1. The android app needs to be enhanced to display UltraHDR images. Today if I configure Memories Admin settings to always display full quality image, the server blindly serves the UltraHDR image as is. When I open Memories page through Chrome browser, the UltraHDR images do get displayed correctly, as Chrome supports such images. But the Android app doesn't support displaying such UltraHDR images and needs to be fixed along the lines of https://developer.android.com/media/grow/ultra-hdr/display .
  2. The memories server should support scaling UltraHDR images while preserving the UltraHDR information. This way, even when a scaled down image is displayed, not just original quality, it can be viewed in proper brightness. As I understand ImageMagick already supports UltraHDR format, so it's most likely just a matter of using the right versions and APIs to preserve this info.

Describe alternatives you've considered
Alternative that I'm using right now -- Force memories to always use high quality and then only use Memories through browser, not through the android app.

Additional context

@apparle apparle added the feature New feature or request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant