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

How to use it with ColorOutput::RGBA? #1

Closed
Boscop opened this issue Nov 17, 2017 · 3 comments
Closed

How to use it with ColorOutput::RGBA? #1

Boscop opened this issue Nov 17, 2017 · 3 comments

Comments

@Boscop
Copy link

Boscop commented Nov 17, 2017

I want to render gifs using glium so I need the frame data as RGBA, as described here: image-rs/image-gif#32 (comment)

How can I use ColorOutput::RGBA with this crate? :)

@kornelski
Copy link
Owner

screen.pixels is RGBA. It needs indexed input in order to produce RGBA output.

@Boscop
Copy link
Author

Boscop commented Nov 17, 2017

Thanks, and does Screen expand all the frames to the size of the gif (padded with transparency), placing them at their position?

@Boscop Boscop closed this as completed Nov 17, 2017
@kornelski
Copy link
Owner

Yes, of course.

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