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

fix OSError: cannot write mode P as JPEG #16194

Merged

Conversation

light-and-ray
Copy link
Contributor

@light-and-ray light-and-ray commented Jul 11, 2024

Description

I don't know is it possible to face with this bug in vanilla webui. I've faced when my extension used encode_pil_to_base64 with 'P' image I'd uploaded, and save format was 'jpeg'. The same can happen with assign_current_image

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 7b99e14 into AUTOMATIC1111:dev Jul 20, 2024
3 checks passed
@lawchingman lawchingman mentioned this pull request Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants