im = Image.open("../images/hill.png") print(im.mode) # RGBA im.convert('RGB').save("../images/hill.jpg") # first convert to RGB mode.
確定! 回上一頁