propagate default dpi=72 and PDF to images cap = 1800 (30m)
This commit is contained in:
@@ -107,7 +107,7 @@ def render_pdf_to_images(
|
||||
pdf_path: Path,
|
||||
out_dir: Path,
|
||||
*,
|
||||
dpi: int = 180,
|
||||
dpi: int = 72,
|
||||
image_format: str = "png",
|
||||
timeout_s: int = 120,
|
||||
total_pages: int | None = None,
|
||||
@@ -254,10 +254,10 @@ def convert_pptx_to_slidedeck(
|
||||
pptx_path: Path,
|
||||
work_dir: Path,
|
||||
*,
|
||||
dpi: int = 180,
|
||||
dpi: int = 72,
|
||||
image_format: str = "png",
|
||||
pptx_to_pdf_timeout_s: int = 180,
|
||||
pdf_to_images_timeout_s: int = 600,
|
||||
pdf_to_images_timeout_s: int = 1800,
|
||||
pptx_to_pdf_base_timeout_s: int = 45,
|
||||
pptx_to_pdf_per_slide_timeout_s: int = 3,
|
||||
pdf_to_images_base_timeout_s: int = 30,
|
||||
|
||||
Reference in New Issue
Block a user