fix : #259 ANTIALIAS changed to LANCZOS

This commit is contained in:
Niranjan B 2023-09-29 15:45:10 +05:30
parent dbe5f66e13
commit b652b9f602

View File

@ -6,7 +6,7 @@ file_path=askopenfilenames()
img = PIL.Image.open(file_path)
myHeight,myWidth = img.size
img=img.resize((myHeight,myWidth),PIL.Image.ANTILIAS)
img=img.resize((myHeight,myWidth),Image.Resampling.LANCZOS)
save_path=asksaveasfile()
img.save(save_path+"_compressed.JPG")