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

Transparent capture #812

Open
JosiahFu opened this issue Feb 12, 2024 · 2 comments
Open

Transparent capture #812

JosiahFu opened this issue Feb 12, 2024 · 2 comments

Comments

@JosiahFu
Copy link

It would be nice if the capture feature had an option for transparent background, replacing the white background and grid.

How technologically or computationally challenging this would be?

I believe gif and mp4 do not support transparency, so those options would have to be disabled for transparent recording.

@jared-hughes
Copy link
Member

Love this idea! Hopefully not too hard: have to find the function that draws the white background, and tell it to not.

It's already possible to disable grid in the normal wrench menu, so that should not be inside the capture.

Thanks for the shout-out about some export types not supporting transparency. GIF is probably a lost cause, but we might be able to use H.265 export for the mp4 container (currently use H.264). ZIP, APNG, and WEBM should all work with transparency.

The captured frames are stored as PNGs, which supports alpha, so that's not a problem.

@UnChiller
Copy link

gif technically supports transparency, but it's fully transparent or nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants