mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-17 17:18:21 +00:00
@@ -332,7 +332,7 @@ class MsExcelDocumentBackend(DeclarativeDocumentBackend):
|
||||
|
||||
try:
|
||||
pil_image = PILImage.open(image.ref)
|
||||
|
||||
|
||||
doc.add_picture(
|
||||
parent=self.parents[0],
|
||||
image=ImageRef.from_pil(image=pil_image, dpi=72),
|
||||
@@ -383,5 +383,5 @@ class MsExcelDocumentBackend(DeclarativeDocumentBackend):
|
||||
print(exc)
|
||||
continue
|
||||
"""
|
||||
|
||||
|
||||
return doc
|
||||
|
||||
Reference in New Issue
Block a user