docling icon indicating copy to clipboard operation
docling copied to clipboard

export_to_markdown with ImageRefMode.EMBEDDED generate error

Open pprados opened this issue 2 months ago • 0 comments

Bug

export_to_markdown with ImageRefMode.EMBEDDED generate error. ...

Steps to reproduce

converter = DocumentConverter()
result = converter.convert(file_path)
result.document.export_to_markdown(
                image_mode=ImageRefMode.EMBEDDED,
            )

generate error:

<!-- 🖼️❌ Image not available. Please use `PdfPipelineOptions(generate\_picture\_images=True)` --> 

Where it's possible to add PdfPipelineOptions with export_to_markdown() ? ...

Docling version

Docling version: 2.12.0 Docling Core version: 2.11.0 Docling IBM Models version: 3.1.0 Docling Parse version: 3.0.0 ...

Python version

Python 3.12.7 ...

pprados avatar Dec 16 '24 16:12 pprados