mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-23 20:11:10 +00:00
Create convert.py
This commit is contained in:
parent
f8b0890194
commit
e4c90d12d9
4
scripts/jpg-to-png Converter/convert.py
Normal file
4
scripts/jpg-to-png Converter/convert.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
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')
|
Loading…
Reference in New Issue
Block a user