image-png icon indicating copy to clipboard operation
image-png copied to clipboard

Typo in message for NoMoreImageData

Open misos1 opened this issue 3 years ago • 1 comments

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 avatar Sep 28 '22 17:09 misos1

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)

misos1 avatar Sep 28 '22 17:09 misos1