Create convert.py

This commit is contained in:
Siddhesh Bhupendra Kuakde 2022-10-03 14:33:23 +05:30 committed by GitHub
parent f8b0890194
commit e4c90d12d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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')