Hello Team!
Take a look at the attached word document. It is throwing error as out of memory when trying to extract images.
wmf-image-test.docx (23.6 KB)
Hello Team!
Take a look at the attached word document. It is throwing error as out of memory when trying to extract images.
wmf-image-test.docx (23.6 KB)
Thank you for the sample document. It appears you are using the Aspose.Words API, so I am transferring your thread to the corresponding forum where one of our Aspose.Words team members will evaluate your issue and provide assistance accordingly.
@Jaibir Unfortunately, I cannot reproduce the problem on my side using the latest 24.9 version of Aspose.Words and the following simple code:
Document doc = new Document(@"C:\Temp\in.docx");
int index = 0;
foreach (Shape s in doc.GetChildNodes(NodeType.Shape, true))
{
if (s.HasImage)
{
s.ImageData.Save($@"C:\Temp\out_{index++}.{s.ImageData.ImageType}");
}
}
Could you please provide your sample code that will allow us to reproduce the problem?