Fix T51678: 16bit greyscale PNG images thumbnailing fails
generate_local_thumbnails() now uses pathlib and f-string formatting too, making the code a lot simpler. Furthermore, I removed unused bits of resize_and_crop() and simplified the rest.
This commit is contained in:
BIN
tests/test_api/images/512x512-8bit-rgba.png
Normal file
BIN
tests/test_api/images/512x512-8bit-rgba.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 434 KiB |
Reference in New Issue
Block a user