Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix 1bpp image decoding and add a test image #252

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

fintelia
Copy link
Contributor

@fintelia fintelia commented Nov 1, 2024

Fixes the result buffer size computation and also removes a spurious println that slipped in

I created the test image manually in Krita. Feel free to use under CC0. Conversion to TIFF was done using:

gdal_translate -ot Byte -co TILED=YES -co BLOCKXSIZE=16 -co BLOCKYSIZE=16 -co NBITS=1 input.png output.tif

@fintelia fintelia merged commit 96d3a02 into image-rs:master Nov 1, 2024
6 checks passed
@fintelia fintelia deleted the one-bpp branch November 1, 2024 08:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant