python-scripts/scripts/jpg-to-png Converter/convert.py

5 lines
191 B
Python
Raw Normal View History

2022-10-03 09:03:23 +00:00
from PIL import Image
# Make sure to add the paths of Images
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')