temp.py 111 B

12345
  1. from PIL import Image
  2. import pillow_avif
  3. image = Image.open("test.jpg")
  4. image.save("abc.webp",format="webp")