Skip to content

Programmatically set gamma ramp to Windows Desktop

License

Notifications You must be signed in to change notification settings

rilysh/GammaRamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

GammaRamp

Programmatically set Windows Desktop Gamma Ramp, using SetDeviceGammaRamp (GDI32) WinAPI. Please keep in mind, this WinAPI have major limitation on such behaviours, for only example purpose.

Limitations and Conclusion

SetDeviceGammaRamp may not work on old graphics card / some of new graphics card. If this happens try using an old computer (if it brokes on Win10 or 11, try using XP to 7). Graphics limited to 65535 array. For more information refer to see msdocs. Documentation, for a bit more explanation you may see pInvoke site. pInvoke-Example

About

Programmatically set gamma ramp to Windows Desktop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages