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

StackOverflow https://stackoverflow.com/questions/16818664

  •  30-05-2022
  •  | 
  •  

سؤال

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