Consider removing the ImageDecoderRect
trait
#2355
Labels
kind: API
missing or awkward public APIs
next: breaking
Information tag for PRs and ideas that require an interface break
The
ImageDecoderRect
trait is supposed to help decode only the specified part of the image, as opposed to the entire thing.As of v0.25, only BMP and Farbfeld decoders implement it: https://docs.rs/image/0.25.4/image/trait.ImageDecoderRect.html
Given the lack of format support, it's probably best to remove it for now, to reduce the API surface and maintenance burden. We could possibly re-introduce it later if there is enough demand.
The text was updated successfully, but these errors were encountered: