Search code examples
c++brightnesscontrast

Any cross-platform method to change the brightness/contrast of the monitor display?


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 ?


Solution

  • 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.