mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-24 12:31:11 +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')
|