-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Description
Thumbnailing JPEGs failed with a
20:44:31 hyde Error occured when calling imagethumbnails
This line:
hyde/hyde/ext/plugins/images.py
Line 295 in 7f41540
| im = im.convert('RGBA') |
hyde converts the PIL image to RGBA, but that fails with Pillow after v3.7 because it was deprecated and then removed:
with the advice to convert to RGB before saving. I think the solution for hyde is to not convert to RGBA on line 295 for JPEG files.
short diff attached tests and only converts non-JPEG to RGBA.
(Let me know if you'd rather I did a fork and PR, but its about two lines!)
Metadata
Metadata
Assignees
Labels
No labels