Answers for "python data: to jpg"

0

python convert png to jpg

from PIL import Image

img = Image.open('image.png')
rgb_img = img.convert('RGB')
rgb_img.save('image.jpg')
Posted by: Guest on February-24-2021
1

python link to jpg

import urllib.request
urllib.request.urlretrieve("http://www.gunnerkrigg.com//comics/00000001.jpg", "00000001.jpg")
Posted by: Guest on February-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language