We have a long-standing ugly API and ugly workarounds in the code of `image` to compensate for missing error reporting in `png` API: https://github.com/image-rs/image/issues/2084 The upcoming semver-breaking release v0.18 is an excellent opportunity to fix that.