add example PNG

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-10-10 18:29:26 +02:00
parent a84ba6ddec
commit 3794f8245e
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ input_paths = [
Path("tests/data/lorem_ipsum.docx"),
Path("tests/data/powerpoint_sample.pptx"),
Path("tests/data/2206.01062.pdf"),
# Path("tests/data/2305.03393v1-pg9-img.png"),
]
input = DocumentConversionInput.from_paths(input_paths)
@ -35,6 +36,7 @@ input = DocumentConversionInput.from_paths(input_paths)
doc_converter = DocumentConverter( # all of the below is optional, has internal defaults.
formats=[
InputFormat.PDF,
# InputFormat.IMAGE,
InputFormat.DOCX,
], # whitelist formats, other files are ignored.
format_options={

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB