I spent several hours on Google, but in vain. Is there any library or something which can reduce the brightness of the screen ? Or the contrast, or maybe add some tint ?

有帮助吗?

解决方案

There are OS-specific interfaces that you can use (see this for one option using WMI), but there is nothing that will remain the same across all OS platforms.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top