def ImgMax(img): img=img.filter(ImageFilter.SMOOTH) img=img.filter(ImageFilter.MedianFilter(5)) img.show()