Free Support Forum -

Insert EPS (Encapsulated PostScript) Graphics or Bitmap Image File in Word Document using C# .NET - Aspose.Words

Has there been any progress on WORDSNET-13456? We also have a requirement to use InsertImage in Aspose.Words for .NET to insert EPS files. It appears that Aspose.Page for .NET can convert EPS to EMF. Could this functionality be added to Aspose.Words for .NET too?


I have tried inserting a sample EPS file in Word document by using the DocumentBuilder.InsertImage(String) Method of latest 20.11 version of Aspose.Words for .NET API; but unfortunately, it is currently throwing the following exception:

Message=Could not create the bitmap with the specified parameters. Possible lack of system resources.
ArgumentException: Parameter is not valid.

We have logged your requirement in our issue tracking system. Your ticket number is WORDSNET-21445. We will inform you here when we may add support in Aspose.Words for EPS files in future.

In the meantime, we have Aspose.Page for .NET and Aspose.Imaging for.NET APIs that can read an EPS file first and then save it into other graphic format (such as PNG/JPEG) that is recognized by Aspose.Words and thus can be inserted via standard Aspose.Words’ InsertImage method.