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

Wrong compression method in bmp header #14

Open
wh201906 opened this issue Dec 10, 2023 · 0 comments
Open

Wrong compression method in bmp header #14

wh201906 opened this issue Dec 10, 2023 · 0 comments

Comments

@wh201906
Copy link
Contributor

The data at offset 0x1E should be the compression method rather than the channel number

header.setUint32(0x1e, channels, Endian.little);

https://en.wikipedia.org/wiki/BMP_file_format#DIB_header_(bitmap_information_header)

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