notebookvb

This commit is contained in:
Vladimir Buzalka
2026-04-29 06:51:47 +02:00
parent a1b9c93506
commit a9c143ba24
141 changed files with 30711 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from pdf2image import convert_from_path
# Convert a PDF to images
images = convert_from_path(r"u:\Dropbox\!!!Days\Downloads Z230\Dokumentace\a.pdf")
# Save the images
for i, image in enumerate(images):
image.save(f"page_{i + 1}.jpg", "JPEG")