Open
Description
IMO the functionality of this crate would be greatly enhanced by allowing downstream users access to currently private interfaces.
For example, there is useful image information currently hidden within the Decoder
's image
field. It seems to me that this is an easy fix - simply make Decoder.image
public, along with the Image
struct and any necessary nested fields. I gather from other issues there isn't much bandwidth to work on this crate, but this would be a very simple fix that would greatly benefit downstream users. Is there some reasoning to keeping the interface semi-private? Should I draft up a PR to do this?
A couple more opinions:
- There would be use in exposing the type of the underlying image data to users, rather than having it only available after generating a
DecodingResult
. - The
Decoder::image()
accessor method should be removed entirely, especially ifDecoder.image
is madepub
. Or maybe I'm missing some reason for its existence?
Metadata
Metadata
Assignees
Labels
No labels