Free Support Forum -

Inserting image into word document

i am getting error while I am trying to insert a “.PCX” image file into word.
when i try to insert a jpeg file i do not see problem

here is the code :

private void HandleMergeEmployeePhoto(object sender, MergeImageFieldEventArgs e)
System.Drawing.Image image = System.Drawing.Image.FromFile(@“C:\test.prx”);

Can some one help me ?

sorry the above file name is “test.pcx” not test.prx

thank you


Thank you for considering Aspose.

It seems like PCX images are not supported by Image.FromFile.