-
Notifications
You must be signed in to change notification settings - Fork 86
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
[Question] Use libImaging from other languages? #126
Comments
I can't speak for the Pillow-SIMD fork, but for upstream Pillow, only the Python API is supported. The C API is private and internal, and we can and do make "breaking" changes with no warning; the C code shouldn't be called directly, only via Python. See for example python-pillow#4532. |
Thanks for the response. I'm not too worried about official support, I'm more just interested in making sure it is technically feasible to do so without rewriting large amounts of C code. From the look of it, extracting libImaging looks possible. |
Duplicate of #32 |
I'm wondering if it is possible to use the underlying libImaging library from other languages. For example, the Rust ecosystem doesn't really have a simple image augmentation library, and pillow-simd could be a good fit.
From a cursory glance, it seems like libImaging does not have any dependency on the Python header file, so it should be possible to call this from Rust.
The text was updated successfully, but these errors were encountered: