fix: produce image artifacts in referenced mode (#151)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-04-24 17:33:36 +02:00
committed by GitHub
parent 91956cbf4e
commit 71c5fae505

View File

@@ -132,6 +132,8 @@ def _parse_standard_pdf_opts(
if request.image_export_mode != ImageRefMode.PLACEHOLDER:
pipeline_options.generate_page_images = True
if request.image_export_mode == ImageRefMode.REFERENCED:
pipeline_options.generate_picture_images = True
if request.images_scale:
pipeline_options.images_scale = request.images_scale