Windows secretly used green screens to render videos, so you could trick MS Paint into a video player

Published:

If you launched the venerable Windows Media Player in 95, 98 or XP, get ready for gentle shock: : it was lying to you.

And by lie, well, what I really mean is rendering the video somewhere other than in the actual window that was open on the desktop – a sort of parallel plane of existence to the desktop you were actually looking at – before sneakily moving it.

“Now, when you load an image into Paint or another image viewer, Windows sends these green pixels to the graphics card, but if the media player is still running, its overlay is still dynamic, and if you place Paint in the same place as the media player window, the green pixels in Paint will be replaced with dynamic video pixels. The graphics card doesn’t know whether the pixels are coming from Paint. Its job is to look for green pixels in a specific area of the screen and replace them with pixels from the shared surface.

“If you move the Paint window to a different location where it doesn’t overlap the media player, or if the media player isn’t playing video, you’ll see the true nature of the bitmap: it’s just a bunch of green pixels.”

Related articles