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

Wrap declare_imageio_format #32

Open
Tracked by #29
scott-wilson opened this issue Feb 23, 2024 · 2 comments
Open
Tracked by #29

Wrap declare_imageio_format #32

scott-wilson opened this issue Feb 23, 2024 · 2 comments

Comments

@scott-wilson
Copy link
Member

The API is slightly challenging to work with due to passing callbacks from Rust to C++ slightly challenging. Will require some thinking/change how the API works from the Rust side.

@lgritz
Copy link

lgritz commented Feb 24, 2024

Just leave it out. The purpose of that call is to dynamically add C++ implementations of a format readers/writers. I think we'd want a different mechanism if and when we allow Rust implementations of formats. Without that, I can't see how this would be of use to Rust clients of the library.

@scott-wilson
Copy link
Member Author

Sounds good. I was thinking of revisiting this once we start implementing creating Rust powered formats. Maybe do that all via a C interface? Don't know, will play around with that.

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

2 participants