Open DarkAnturian opened 3 years ago
Hello, correct me if I'm wrong, but wouldn't making the background colour transparent work for this? Filing an issue for feature requests is correct by the way (at least for this project). Although not entirely trivial, I could support a gradient for the background, but just making use of the existing gradient by making the background colour transparent should accommodate a lot more use cases, so it feels slightly redundant.
Whenever i use the transparency option, the window capture goes fully black and even putting it back to 100% keeps it black until i close and reopen it.
Interesting, I'm guessing you use OBS since I can sort of reproduce this problem with it. I did run into the fully black window issue once, but setting the capture method to Windows 10 made it work. Except that it doesn't capture the alpha component of pixels... So I just get back the original background colour in the capture... It seems like this is actually a Windows limitation so I also don't expect there to be a fix for this.
There are some hacky methods I found using OBS that do actually work though, you can do a screen capture instead and then crop the output down to only the KeysPerSecond window. Alternatively, you can do a chroma key on the KeysPerSecond window background color. Both work as a fix, but they aren't entirely ideal.
I think the most useful thing I can do is add support in KeysPerSecond to set an image as the window background. This should not only address your case but also other users who might have a more complicated overlay they want the window to blend into.
that would be very useful, thank you!
I would like to add a gradient to the background so it can fit inline with my overlay,