Untitled
unknown
plain_text
a month ago
381 B
5
Indexable
from pdf2image import convert_from_path
pdf_path = "/mnt/data/Completed_Value_Proposition_Canvas.pdf"
images = convert_from_path(pdf_path)
image_paths = []
for i, image in enumerate(images):
path = f"/mnt/data/value_proposition_canvas_page_{i+1}.png"
image.save(path, "PNG")
image_paths.append(path)
print("Created image files:")
for p in image_paths:
print(p)
Editor is loading...
Leave a Comment