We are facing an issue when inserting SVG images into Word documents using aspose-words-cloud==23.2.0
and the latest version aspose-words-cloud==24.9.0
also. The code runs without errors, and everything was working perfectly until recently. However, now when we open the Word document in Windows, the images are not visible. Interestingly, if we convert the document to PDF, the images appear correctly.
This issue appeared suddenly, despite the fact that the code was functioning well just the other day. Below is the code snippet we are using for inserting images:
python code
def insert_image(self, document, image, node_path, width, height):
request_drawing_object = asposewordscloud.DrawingObjectInsert(height=height, left=0, top=0, width=width,
relative_horizontal_position='Margin',
relative_vertical_position='Margin',
wrap_type='Inline')
insert_request = asposewordscloud.models.requests.InsertDrawingObjectOnlineRequest(
document=document,
drawing_object=request_drawing_object,
image_file=image, node_path=node_path)
result = self.aspose_api.insert_drawing_object_online(insert_request)
document = self.convert_bytes_to_bytesio(result)
Could you please check if there have been any updates or known issues related to this? I have attached a sample document for your reference.
Test 10_03_2024_17_41_26_Qa_admin_10_03_2024_08_11_45.pdf (50.3 KB)
Test 10_03_2024_17_41_20_Qa_admin_10_03_2024_08_11_35.docx (2.7 MB)
Thank you for your assistance.