We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Frame.buffer is a Cow<'a, [u8]>. Even if I set pixel type to be RGBA, I still have to deal with a slice of u8.
Frame.buffer
Cow<'a, [u8]>
u8
I would prefer if type system was used to ensure the right pixel format, e.g.
let reader: gif::Reader<_, pixel::RGBA> = decoder.read_info();
which would return Frame<RGBA> with Cow<'a, [RGBA]>.
Frame<RGBA>
Cow<'a, [RGBA]>
The text was updated successfully, but these errors were encountered:
Will be fixed via #33.
Sorry, something went wrong.
No branches or pull requests
Frame.buffer
is aCow<'a, [u8]>
. Even if I set pixel type to be RGBA, I still have to deal with a slice ofu8
.I would prefer if type system was used to ensure the right pixel format, e.g.
which would return
Frame<RGBA>
withCow<'a, [RGBA]>
.The text was updated successfully, but these errors were encountered: