Jump to content
William23668

Real time desktop colors change like filters

Recommended Posts

Posted (edited)

Hi

Sorry was not clear at first. I need to change Windows 11 desktop colors in real time like those filters:

 

image.thumb.png.3ddb97a6cd26aa2ae0eef66947a19dc4.png

 

I think I need to change every pixel color like a GPU driver. Can Delphi do that ? where to start ? Is there a library I can use ?

 

Thanks

Edited by William23668

Share this post


Link to post

This surely isn't trivial.

 

I once was about to make small tool for inverting the colors of windows that did not support a "dark theme" but I never really got started with it.

It seems that you can use the (now deprecated) Magnification API to (selectively) transform colors or run filters on the whole screen (or just selected parts of it like rectangle areas or selected HWNDs): Magnification API overview (Applying Color Effects)| Microsoft Learn

 

There is also its successor, the Desktop Duplication API - Win32 apps | Microsoft Learn which I had only used for grabbing screen data, not manipulating it. So I cannot say if it's a feasible solution for manipulating the colors.

  • Thanks 1

Share this post


Link to post
22 hours ago, William23668 said:

I need to change Windows 11 desktop colors in real time like those filters

Colors for the entire desktop, including icons, taskbar, and start menu? Or change only the colors in the desktop wallpaper?

Share this post


Link to post
6 minutes ago, JonRobertson said:

Colors for the entire desktop, including icons, taskbar, and start menu? Or change only the colors in the desktop wallpaper?

Entire desktop 

Share this post


Link to post

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

×