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

HDR Support #23

Open
wrekklol opened this issue Oct 14, 2023 · 3 comments
Open

HDR Support #23

wrekklol opened this issue Oct 14, 2023 · 3 comments

Comments

@wrekklol
Copy link

I would like to request HDR support, as taking a screenshot on a HDR monitor makes the colors look like the contrast really high.

@DarthAffe
Copy link
Owner

There are multiple points in this:

  1. It's true that HDR-capturing is not 100% supported as the capture is always using 8bit per channel which causes a loss of detail to some extend, This can be changed actually quite easily, but requires some specific DPI-settings to work, which caused it to be a bit unhandy for common use.

  2. Doing the changes of 1. would not fix your issue that the image looks oversaturated when saved as bitmap or something similar (I guess that's what you did?). That's simply because HDR uses a different color-space and therefore either requires a HDR compatible image format or some tone mapping/conversion of the data before saving.

@wrekklol
Copy link
Author

I am converting it to a OpenCV Mat. Is there any chance you could point me in the right direction of converting the data, or maybe providing an extension or helper method in the library?

@DarthAffe
Copy link
Owner

I've never worked with HDR before so I don't have any experience with it.
I've looked through some theory about tone mapping (for example this https://64.github.io/tonemapping/) and it does not seem to bad to implement, but I also can't provide a quick method for that without diving deeper into this.

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