Is your feature request related to a problem? Please describe.
I would like to include optimize-images into a web app built in Plone CMS, and the way the image storage works it does not allow me to get the file path, rather we can get the binary data and store it back. So optimize_images.api.optimize_single_image does not really work in my use case.
Describe the solution you'd like
A new variant of optimize_single_image that accepts a buffer.
Describe alternatives you've considered
Additional context
Want to submit a pull request?
I really don't have much time as of late sadly.
Is your feature request related to a problem? Please describe.
I would like to include
optimize-imagesinto a web app built in Plone CMS, and the way the image storage works it does not allow me to get the file path, rather we can get the binary data and store it back. Sooptimize_images.api.optimize_single_imagedoes not really work in my use case.Describe the solution you'd like
A new variant of
optimize_single_imagethat accepts a buffer.Describe alternatives you've considered
Additional context
Want to submit a pull request?
I really don't have much time as of late sadly.