Answers for "jpg to pdf converter software in python"

1

python save image to pdf

from PIL import Image

image1 = Image.open(r'path where the image is storedfile name.png')
im1 = image1.convert('RGB')
im1.save(r'path where the pdf will be storednew file name.pdf')
Posted by: Guest on January-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language