Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pillow convert jpg to png

from PIL import Image

im1 = Image.open(r'path where the JPG is storedfile name.jpg')
im1.save(r'path where the PNG will be stored
ew file name.png')
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #python #pillow #convert #jpg #png
ADD COMMENT
Topic
Name
6+7 =