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

Support custom targets and sources #102

Closed
lopcode opened this issue Oct 5, 2024 · 1 comment
Closed

Support custom targets and sources #102

lopcode opened this issue Oct 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lopcode
Copy link
Owner

lopcode commented Oct 5, 2024

libvips includes features to define custom targets and sources - this could be used to provide InputStream and OutputStreams in a simple way.

For example, in Python: https://github.com/libvips/pyvips/blob/master/pyvips/vsourcecustom.py https://github.com/libvips/pyvips/blob/master/pyvips/vtargetcustom.py

An example use case is streaming directly from an API call to S3, without buffering extra copies in memory.

@lopcode lopcode added the enhancement New feature or request label Oct 5, 2024
@lopcode
Copy link
Owner Author

lopcode commented Oct 7, 2024

Shipped in #106 - going up to Maven Central now in v1.2.0 🚀

@lopcode lopcode closed this as completed Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant