dacoder
Member
Color-key (chroma-key) works great when the object is to just remove certain colors from a scene. But for accurately using overlays, alpha channels need to exist in the produced image. While coding with Java, I found that transparent windows (with images painted on them e.g. a splash screen) would show up black!
My suggestion: if possible, allow window capturing with alpha in it. So that people can window capture something with transparency, without having to use color-key to color it out. I am unaware of how window capture works, if it is just a sub-region on the screen dictated by frame sizes, or actually grabbing the content of a frame from it.
My interest in this subject is because: my program would be x10 better if the user could just signify an image (with alpha) and have that drawn to my window frame, and have the window frame's background be transparent. Then all they have to do is use OBS to capture the window and its alpha. Also: color-key is NOT a viable option here, since I have a fade-in / fade-out effect, and dropshadows in images etc. With color-key the produced image is either full alpha or none.
And why do transparent windows get captured as black screens?
If the dev's want: I can supply a quick demonstration application, consisting of a JFrame that is transparent with an alpha image painted to it. This would allow you to see first-hand what is causing the black screen, or even testing the implementation.
My suggestion: if possible, allow window capturing with alpha in it. So that people can window capture something with transparency, without having to use color-key to color it out. I am unaware of how window capture works, if it is just a sub-region on the screen dictated by frame sizes, or actually grabbing the content of a frame from it.
My interest in this subject is because: my program would be x10 better if the user could just signify an image (with alpha) and have that drawn to my window frame, and have the window frame's background be transparent. Then all they have to do is use OBS to capture the window and its alpha. Also: color-key is NOT a viable option here, since I have a fade-in / fade-out effect, and dropshadows in images etc. With color-key the produced image is either full alpha or none.
And why do transparent windows get captured as black screens?
If the dev's want: I can supply a quick demonstration application, consisting of a JFrame that is transparent with an alpha image painted to it. This would allow you to see first-hand what is causing the black screen, or even testing the implementation.