To convert emf to png on linux

Hi,

this program runs fine on Windows :



namespace EmfToPng

{

class Program

{

static void Main(string[] args)

{

DocumentBuilder builder = new DocumentBuilder();



Shape shape = builder.InsertImage(“c:\temp\test.emf”);

ImageSaveOptions pngSaveOptions = new ImageSaveOptions(SaveFormat.Png);

shape.GetShapeRenderer().Save(“c:\temp\testw.png”, pngSaveOptions);

}

}

}

}



but on linux with mono, i get a bad png image (see attached).



Thanks in advance for your help.

Hi Thierry,


Thanks for your inquiry. I tested the scenario and have managed to reproduce the same problem. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-11761. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,