mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 15:31:10 +00:00
5 lines
191 B
Python
5 lines
191 B
Python
|
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')
|