-
-
Notifications
You must be signed in to change notification settings - Fork 902
Use path instead of base64 for PIL handling #5653
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
base: main
Are you sure you want to change the base?
Conversation
|
@evnchn I just updated this branch and started with a quick AI review. There seem to be some problems with the current implementation: 1. Critical:
|
|
Got it. Should be good now. |
Motivation
#5583 reveals that using base64 encoding for PIL images is a bad idea when the PIL image is large.
This is due especially to how we send the entire props dict over
Implementation
pil_to_tempfileinstead.self._source_for_cleanupProgress