Skip to content

[Bug] pdf_split_handle.py文件代码逻辑缺陷 #4887

@JoanWheatley

Description

@JoanWheatley

Contact Information

No response

MaxKB Version

2.61

Problem Description

pdf的都没有落图到oss当中,查看pdf_split_handle.py代码,方法传递了save_iamge方法,但在处理逻辑中并为调用该逻辑进行图片保存。导致图片类型的pdf文件上传到知识库中都是损坏图片。

Image Image

Steps to Reproduce

上传带有图片的pdf,图片都是损坏。

Image

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions