C# Custom Screensaver capturing desktop returns solid color
I am working on creating a screen saver in c# dotnet 8.0. I'm currently trying to do something similar to how the bubbles screen saver screenshots your desktop and uses that as a background. Everything works fine, preview mode works, and running the screensaver as an exe works too. The issue occurs when the screen saver actually runs after idling. Windows shows a solid color before running the screensaver so screenshotting just gives that.
Program class
ScreenSaverForm class
I tried a tranparent window but the solid color just appears under it. If anyone has any insight as to how the bubbles screensaver accomplishes it or any other alternative way to screenshot under the solid color that would be appreciated!
5 Replies
Invisible Pixel Extraction Technique could help you here. I've used it on a project before but i could be wrong so try reading into that a little.
oh yeah I've used that. It's pretty good. Take a deep dive
IPET is the best
I've been looking but I don't see how I could get anything meaningful from a solid color
did you look into the documentation of IPET
can you send a link? I can't find very much about it anywhere
bump (sorry)