Replies: 5 comments 8 replies
-
To elaborate a bit: I would love to use all the cool work you did on rendering But I need a "lite" version which only does the bit in utils.py and models.py and never loads pillow. I can fork it of course, or just borrow some bits from Thanks! 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi @tykling, Yes, that “should” be possible. I designed the package to be able to support this use case. I believe multiple platforms might mature into that direction. All that being said, I have not put it to a test personally yet. Soooo, we might have to figure this out together and while doing so, maybe write a bit more documentation. I would certainly be committed to implement the necessary changes to make this work, should it be needed. Perhaps you can start by giving me a run-down on how you currently serve and process images? And we take it from there? Cheers! |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response, that sounds promising! 👍 I am building a gallery of sorts which will serve pictures and other files. The part serving the pictures is currently just an I would love to have a way to use a In my project the file uploads, and subsequent resizing of pictures, exif extraction and other handling of binary files are all handled by remote clients via an HTTP API. It has endpoints to upload the original file, and then resized versions, exit metadata etc. Files are eventually served by nginx using So, the flow would be:
Hm, thinking about it, could I get all of this by pre-filling |
Beta Was this translation helpful? Give feedback.
-
Ok, I've made some progress on this. Because I am not sure if making pillow an optional dep in It'll be a few days before I get back to this but I will update here once I get this all committed and pushed to Github. For now I'll include the fake PIL I'm using:
|
Beta Was this translation helpful? Give feedback.
-
Hi @tykling, Thank you for your patience. It's been a busy year. However, I really wanted to get back on this topic. I believe this requires 2 steps:
I will draft a patch, including documentation on how to set up the package with an external image processor. I'd love if you can give it a review and see if it meets your requirements. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is it possible to run this without pillow at all if all the processing is done async/remotely on another server?
Thanks! :)
Beta Was this translation helpful? Give feedback.
All reactions