Skip to content

Skip write-only formats#308

Merged
kra-mo merged 1 commit into
kra-mo:mainfrom
City-busz:image-filter
Nov 4, 2024
Merged

Skip write-only formats#308
kra-mo merged 1 commit into
kra-mo:mainfrom
City-busz:image-filter

Conversation

@City-busz

Copy link
Copy Markdown
Contributor

PALM and PDF are write-only formats by PIL, these cannot be opened.

Also move SVG out from the loop to avoid adding it multiple times.

Reference:
https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#write-only-formats

Comment thread cartridges/details_dialog.py Outdated
@kra-mo

kra-mo commented Nov 3, 2024

Copy link
Copy Markdown
Owner

Thanks

PALM and PDF are write-only formats by PIL, these cannot be opened.

Also move SVG out from the loop to avoid adding it multiple times.

Reference:
https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#write-only-formats
@kra-mo kra-mo merged commit 3e9c947 into kra-mo:main Nov 4, 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