Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export_to_markdown with ImageRefMode.EMBEDDED generate error #610

Open
pprados opened this issue Dec 16, 2024 · 0 comments
Open

export_to_markdown with ImageRefMode.EMBEDDED generate error #610

pprados opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pprados
Copy link

pprados commented Dec 16, 2024

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 pprados added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant