📜  python枕头将jpg转换为png - Python代码示例

📅  最后修改于: 2022-03-11 14:47:03.433000             🧑  作者: Mango

代码示例2
from PIL import Image

im1 = Image.open(r'path where the JPG is stored\file name.jpg')
im1.save(r'path where the PNG will be stored\new file name.png')