Skip to content

Consider removing the ImageDecoderRect trait #2355

Open
@Shnatsel

Description

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.

Metadata

Assignees

No one assigned

    Labels

    kind: APImissing or awkward public APIsnext: breakingInformation tag for PRs and ideas that require an interface break

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions