I have Jpg images which are in one folder. I want to replace that images with png format in the same folder and same name.how to do this? here what i tried:
image_path =''
input_image = Image.open(image_path).convert('RGB')
input_image.save(image_path + ".png", "PNG")