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

no paddings were necessary in the case of bit32 #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

y-ich
Copy link

@y-ich y-ich commented Oct 31, 2017

Hi. Thank you for your nice library.

I got RangeError when I decoded 32bit BMP with a width that is not a multiple of 4.
I think that no paddings are necessary in the case of bit32 decoder since the specification of BMP requires just a multiple of 4 bytes per row, does not requires a multiple of 4 pixels per row.

@y-ich
Copy link
Author

y-ich commented Nov 1, 2017

The order of colors was wrong in the case of bit32.

@Uzlopak
Copy link

Uzlopak commented Jan 11, 2018

I agree with the wrong order of the colors in case of 32 bit. If the padding is not necessary... well i dont know.

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

Successfully merging this pull request may close these issues.

2 participants