LorenzCK / OnTopReplica

A real-time always-on-top “replica” of a window of your choice (on Windows).
Other
2.47k stars 272 forks source link

Feature Request: transparency (color key) #89

Open travgonz opened 5 years ago

travgonz commented 5 years ago

couldn't find where to submit feature requests,

It would be cool if we could choose a color to key out (make transparent) much like the "color key" filter in OBS studio.

so for example, If were watching some numbers, I could select the region around my numbers, then key out the background. Then my window just shows the numbers, rather than a black rectangle with numbers. so it would like like the images attached for example.

before: before after: after

jaylapse commented 4 years ago

I came here to leave the same request, would love the option to choose a color transparency!

LorenzCK commented 4 years ago

Hello @travgonz and @jaylapse, sorry for the very late reply: unfortunately, color-keying (or any other blending operation on the original source pixels, really) cannot be implemented at the moment, unfortunately. OnTopReplica uses the DWM Thumbnail feature (available since Windows Vista, the same technology used for previews in the Windows task bar) to create replicas: these are very easy to use instruments, they are very lightweight, and work really well for most scenarios, but it is not possible to access the contents of the source window unfortunately, nor is it possible to "transform" the output pixels in any way.

An option would be to radically change how OnTopReplica works and use full desktop capturing in order to clone the source window, but that would require a lot of work and would work in a very different way. Realistically, I'm afraid this is impossible to implement for the time being. 🙁

MarximusMaximus commented 6 months ago

Darn. Came here to request the same thing.

If anyone happens to have a recommendation for software that can do the transparent keying, please let me know.