Skip to content

pillow

  • open a image
image = 'your image path
im = Image.open(image)
im.show()
  • save image to the same image
image = 'your image path
im = Image.open(image)
im.show()
im.save(image)