Closed katyo closed 5 years ago
Changed return type of image_type() to ImageResult. Correct handling of two different cases: "not enough data" and "not supported image".
image_type()
ImageResult
Possible solution for #5
Looks like it passed the tests, but they aren't linked here. For future reference
Thanks for the PR. I'll merge this and create a 0.6 version soon since this is a breaking change.
Changed return type of
image_type()
toImageResult
. Correct handling of two different cases: "not enough data" and "not supported image".