Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose dynimage::decoder_to_image #978

Closed
moulins opened this issue Jun 20, 2019 · 0 comments · Fixed by #1032
Closed

Expose dynimage::decoder_to_image #978

moulins opened this issue Jun 20, 2019 · 0 comments · Fixed by #1032

Comments

@moulins
Copy link

moulins commented Jun 20, 2019

I have a ImageDecoder I would like to convert to a DynamicImage.

The function dynimage::decoder_to_image
seems to do what I need,but it isn't accessible from outside the crate. Is there another way to do it?

For now, I've copy-and-pasted the implementation in my project, but I think this
function should be part of the public API (maybe under another name?).

HeroicKatora added a commit to HeroicKatora/image that referenced this issue Aug 21, 2019
A somewhat long outstanding feature. The previous pub attribute on the
function may have made it confusing and wrongly suggested that this was
already the case.

Closes: image-rs#978
@HeroicKatora HeroicKatora mentioned this issue Aug 21, 2019
4 tasks
HeroicKatora added a commit to HeroicKatora/image that referenced this issue Aug 29, 2019
A somewhat long outstanding feature. The previous pub attribute on the
function may have made it confusing and wrongly suggested that this was
already the case.

Closes: image-rs#978
HeroicKatora added a commit to HeroicKatora/image that referenced this issue Sep 2, 2019
A somewhat long outstanding feature. The previous pub attribute on the
function may have made it confusing and wrongly suggested that this was
already the case.

Closes: image-rs#978
HeroicKatora added a commit to HeroicKatora/image that referenced this issue Sep 7, 2019
A somewhat long outstanding feature. The previous pub attribute on the
function may have made it confusing and wrongly suggested that this was
already the case.

Closes: image-rs#978
HeroicKatora added a commit to HeroicKatora/image that referenced this issue Sep 7, 2019
A somewhat long outstanding feature. The previous pub attribute on the
function may have made it confusing and wrongly suggested that this was
already the case.

Closes: image-rs#978
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant