mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 23:42:22 +00:00
Deprecated the generate_table_images option
Signed-off-by: Shubham Gupta <26436285+sh-gupta@users.noreply.github.com>
This commit is contained in:
parent
b9cbcf7782
commit
7a79047af5
@ -81,4 +81,11 @@ class PdfPipelineOptions(PipelineOptions):
|
|||||||
images_scale: float = 1.0
|
images_scale: float = 1.0
|
||||||
generate_page_images: bool = False
|
generate_page_images: bool = False
|
||||||
generate_picture_images: bool = False
|
generate_picture_images: bool = False
|
||||||
generate_table_images: bool = False
|
generate_table_images: bool = Field(
|
||||||
|
default=False,
|
||||||
|
deprecated=(
|
||||||
|
"Field `generate_table_images` is deprecated. "
|
||||||
|
"To obtain table images, set `PdfPipelineOptions.generate_page_images = True` "
|
||||||
|
"before conversion and then use the `TableItem.get_image` function."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user