You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening the attached image after applying the patch from issue #13 (#13 (comment)), the library fails while reading the image.
The image is interlaced using Adam7.
The text was updated successfully, but these errors were encountered:
Update: The image dimensions are 360x180.
Decoder allocates 360x180 bytes for the image.
RawPngData calculates with 361 bytes per row and hits an Index out of range exception.
I updated the code to make it work by conditionally adding "1" add two places for the image with color palette. Our interleaved true-color test image only works without adding 1.
I don't know if this works for all images.
See PR #17.
logo.zip
When opening the attached image after applying the patch from issue #13 (#13 (comment)), the library fails while reading the image.
The image is interlaced using Adam7.
The text was updated successfully, but these errors were encountered: