Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python convert png to jpg

from PIL import Image

img = Image.open('image.png')
rgb_img = img.convert('RGB')
rgb_img.save('image.jpg')
 
PREVIOUS NEXT
Tagged: #python #convert #png #jpg
ADD COMMENT
Topic
Name
5+6 =