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

Refine(cast) DynamicImage to specific Image #203

Open
ingun37 opened this issue Oct 24, 2021 · 1 comment
Open

Refine(cast) DynamicImage to specific Image #203

ingun37 opened this issue Oct 24, 2021 · 1 comment

Comments

@ingun37
Copy link

ingun37 commented Oct 24, 2021

Maybe I haven't read doc enough and if that's the case I'm sorry😭 but I can't find a way to refine DynamicImage to specific Image type, preferably using Lens?

I read HDR image using decodeHDR but it returns as DynamicImage. I want to refine it to ImageRGBF. How can I do it?

Side note: I feel bad asking trivial question in Issues. Maybe you guys should open up Github Discussion

@ingun37
Copy link
Author

ingun37 commented Oct 24, 2021

I'm currently using constructor matching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant