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

Decode and encode single bits #18

Closed
maca opened this issue Sep 7, 2019 · 0 comments
Closed

Decode and encode single bits #18

maca opened this issue Sep 7, 2019 · 0 comments

Comments

@maca
Copy link

maca commented Sep 7, 2019

Hi @evancz

I am working on a PNG decoding/encoding library and in PNG pixels can have a depth of 1, 2, 4, 8 and 16 bits.
Would it be possible to encode and decode single bits?

I see the case where a scanline has a length in bits that cannot be decoded as bytes.

@maca maca closed this as completed Nov 4, 2019
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

1 participant