Image being None #3318
Replies: 1 comment
-
|
The If you're using the Python SDK directly, configure it like this: from docling.datamodel.pipeline_options import PdfPipelineOptions
from docling.document_converter import DocumentConverter, PdfFormatOption
pipeline_options = PdfPipelineOptions(
generate_picture_images=True, # enables per-picture image cropping
images_scale=2.0, # optional: higher resolution
)
converter = DocumentConverter(
format_options={
InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options)
}
)If you're using docling-serve, note that there's a bug where To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to extract the images from my PDF and save them so I can use a model to process them separately, but all of my
PictureItemhave None as the imageBeta Was this translation helpful? Give feedback.
All reactions