Jump to content

Screen Gamma


ChrisL
 Share

Recommended Posts

See attached screen gamma program.

Once compiled you can run the script and set your screen up as required and save the settings, then if you call the compiled exe file with a /h commandline argument it will set the Gamma without showing the gui.

The gamma settings are reset when windows is restarted which is why you would create a shortcut to launch the app with the /h command.

The attached image file would get fileinstalled to the compiled exe.

Thanks Larry for the initial help with the call to gdi32!

Edit: Some graphics cards do not support the Windows gdi32 gamma setting!

Edit2: New version attached with load gamma at startup added.

Previously 38 downloads

post-7154-1197019252_thumb.jpg

CALGamma.au3

Edited by ChrisL
Link to comment
Share on other sites

Hola BRAVISSIMO, :)

you beat me on posting. i am compiling a full library of desktop and multi monitor functions. Setting gamma is included. I call the dll in a slightly different way even if i must say it was difficult to get it right (and i believe there is still space for improvement)

The whole library will be loaded by tonight i hope. The code comes from many source but view your experience on a similar topic I will appreciate all your comments and possible extensions.

The real nighmare is to make things work on multi-monitor set up and i must say there is still such a huge lack of info on this topic that anybody that can help is absolutely welcome.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...