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
sample image(rename it to bmp since github does not allow to upload bmp): bmp-rgba.txt
stb will skip extra bytes before reading actual data:
stb/stb_image.h
Lines 5654 to 5658 in 2e2bef4
but those bytes have already been skipped earlier when handling plate-size=0 (the bytes_read_so_far is exactly info.extra_read + info.hsz here):
bytes_read_so_far
info.extra_read + info.hsz
Lines 5564 to 5582 in 2e2bef4
seems it's introduced by 1096389 the fix made an extra skip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
sample image(rename it to bmp since github does not allow to upload bmp): bmp-rgba.txt
stb will skip extra bytes before reading actual data:
stb/stb_image.h
Lines 5654 to 5658 in 2e2bef4
but those bytes have already been skipped earlier when handling plate-size=0 (the
bytes_read_so_far
is exactlyinfo.extra_read + info.hsz
here):stb/stb_image.h
Lines 5564 to 5582 in 2e2bef4
seems it's introduced by 1096389
the fix made an extra skip
The text was updated successfully, but these errors were encountered: