“pil img para pdf” Respostas de código

pil img para pdf

from PIL import Image

image1 = Image.open(r'path where the image is stored\file name.png')
im1 = image1.convert('RGB')
im1.save(r'path where the pdf will be stored\new file name.pdf')
Delightful Dolphin

pil img para pdf

from PIL import Image

image1 = Image.open(r'path where the image is stored\file name.png')
im1 = image1.convert('RGB')
im1.save(r'path where the pdf will be stored\new file name.pdf')
Delightful Dolphin

Respostas semelhantes a “pil img para pdf”

Perguntas semelhantes a “pil img para pdf”

Mais respostas relacionadas para “pil img para pdf” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código