metadata: update deprecated pillow constant
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
9785387867
commit
b676773602
|
@ -557,7 +557,7 @@ class Cura(BaseSlicer):
|
|||
'relative_path': rel_path_full
|
||||
})
|
||||
# Create 32x32 thumbnail
|
||||
im.thumbnail((32, 32), Image.ANTIALIAS)
|
||||
im.thumbnail((32, 32), Image.Resampling.LANCZOS)
|
||||
im.save(thumb_path_small, format="PNG")
|
||||
thumbs.insert(0, {
|
||||
'width': im.width, 'height': im.height,
|
||||
|
|
Loading…
Reference in New Issue