im = Image.open("audacious.png") rgb_im = im.convert('RGB') rgb_im.save('audacious.jpg')
img = img.convert("RGB")