Skip to content

Comments

fix OSError: cannot write mode P as JPEG#16194

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:fix_cannot_write_mode_P_as_jpeg
Jul 20, 2024
Merged

fix OSError: cannot write mode P as JPEG#16194
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:fix_cannot_write_mode_P_as_jpeg

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
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