Skip to content

Commit

Permalink
another pillow CONST removed: Image.ANTIALIAS now LANCZOS
Browse files Browse the repository at this point in the history
  • Loading branch information
paddywwoof committed Oct 2, 2023
1 parent d5695b2 commit 870a853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pi3d/shape/ElevationMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self, mapfile, camera=None, light=None,
if divx == 0:
divx = 200
divy = 200
im = im.resize((divx, divy), Image.ANTIALIAS)
im = im.resize((divx, divy), Image.LANCZOS)
ix, iy = im.size
im = im.convert('L')
im = im.transpose(Image.FLIP_TOP_BOTTOM)
Expand Down

0 comments on commit 870a853

Please sign in to comment.