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

Default gamma handling #72

Open
CWBudde opened this issue Apr 18, 2019 · 0 comments

Comments

1 participant
@CWBudde
Copy link
Contributor

commented Apr 18, 2019

Today I took some time to invest into gamma handling. It seems that with Windows 7 (according to Wikipedia) the operating system can already perform gamma correction on a system level. This means that we should not only implement gamma handling on a per bitmap level (for mixing bitmaps from a different color space), but also specify the handling based on the operating system (e.g. add code to query the current gamma setting etc.).

Also, by default (as most users are using modern systems), we should set it to 1 rather than 2.2 as it is right now. This said, we still need to be aware of the gamma value to avoid problems with certain drawing algorithms (such as blurring).

@CWBudde CWBudde self-assigned this Apr 18, 2019

@CWBudde CWBudde added the enhancement label Apr 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.