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:
2018-03-22 17:41:03 +01:00
parent f8ccb8aaaa
commit e4f229cc70
11 changed files with 352 additions and 74 deletions

View File

@@ -0,0 +1,2 @@
Images courtesy of Blender Cloud
https://cloud.blender.org/