Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursors with alpha transparency render as solid in output #5

Open
Fironet opened this issue Sep 27, 2014 · 1 comment
Open

Cursors with alpha transparency render as solid in output #5

Fironet opened this issue Sep 27, 2014 · 1 comment

Comments

@Fironet
Copy link

Fironet commented Sep 27, 2014

With the capture cursor option enabled any cursors with alpha transparency (such as drop shadows) come out in the final video without the correct transparency, with black pixels where the transparency would normally be.

Here is a captured WebM video of the issue, comparing cursors without alpha to a cursor with alpha (see the original cursor as a PNG).

@michaelmob
Copy link
Owner

Currently, WebMcam just takes a bunch of screenshots and gets the mouse cursors image and places it onto the bitmap using the DrawIconEx function. (http://msdn.microsoft.com/en-us/library/windows/desktop/ms648065(v=vs.85).aspx)

From what I see, DrawIconEx does not support transparency which is why you're seeing the black pixels where the transparent pixels would be. Unless I create my own cursor capture method or find one or get a different way of capturing the frame itself (which I may have to find), creating one of these methods would be a huge hassle and just not worth the effect as of now.

I hope you understand. Thanks!
Leaving this open.

@michaelmob michaelmob added the bug label Feb 27, 2016
@michaelmob michaelmob removed the bug label Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants