Closed katyo closed 5 years ago
As I understand when not enough data provided I get IO Error
of kind UnexpectedEof
. But it isn't so for too short headers because image_type()
returns ImageType::Unknown
(not error).
Closed since #6 was merged. Thanks.
I tried to use this awesome lib with image data from streams. Because the image data incomplete I need a way to get "not enough data" error or know how much bytes of header required to determine. I think this case quite differs from
CorruptedImage
orNotSupported
.