fix: InputFormat.IMAGE must have correct pipeline (#2707)

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Christoph Auer
2025-12-01 19:44:16 +01:00
committed by GitHub
parent 54cd6d7406
commit 6ef4ffd643

View File

@@ -205,6 +205,7 @@ class DocumentConverter:
) )
# Convert to ImageFormatOption while preserving pipeline and backend options # Convert to ImageFormatOption while preserving pipeline and backend options
normalized_format_options[format] = ImageFormatOption( normalized_format_options[format] = ImageFormatOption(
pipeline_cls=option.pipeline_cls,
pipeline_options=option.pipeline_options, pipeline_options=option.pipeline_options,
backend_options=option.backend_options, backend_options=option.backend_options,
) )