from PIL import Image
im1 = Image.open(r'C:UsersRonDesktopTestautumn.jpg')
im1.save(r'C:UsersRonDesktopTest
ew_autumn.png')
from PIL import Image
im1 = Image.open(r'path where the JPG is storedfile name.jpg')
im1.save(r'path where the PNG will be stored
ew file name.png')