License license = new License();
license.setLicense( "Aspose.Words.lic" );
Document doc = new Document("template.docx");
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.PNG);
Results will be different between aspose versions 15 and 13. Follow the result.jpg images attached with his respective version file description.
During convert process (old version 13) Fonts didn't work as expected (you can see on attached file) when we migrate from windows to linux env. This was the main motivationto buy a new key and start to use the current version 15 who offers support for Unix based SO fonts and worked as expected although another important feature, write white spaces, stopped to work since then.
Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-62-generic x86_64)
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)