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

Typo in message for NoMoreImageData #357

Open
misos1 opened this issue Sep 28, 2022 · 1 comment
Open

Typo in message for NoMoreImageData #357

misos1 opened this issue Sep 28, 2022 · 1 comment

Comments

@misos1
Copy link

misos1 commented Sep 28, 2022

There is typo in: https://github.com/image-rs/image-png/blob/master/src/decoder/stream.rs#L296
"IDAT or fDAT chunk is has not enough data for image."

@misos1
Copy link
Author

misos1 commented Sep 28, 2022

Also this message looks strange: InvalidBitDepth(nr) => write!(fmt, "Invalid dispose operation {}.", nr)
Should not it be something about invalid bit depth? There is already something about "dispose op": InvalidDisposeOp(nr) => write!(fmt, "Invalid dispose op {}.", nr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants