Convert EMF+ (not WMF / EMF) file to PNG in java
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Problem: I have a an image of Enhanced Metafile Fromat Plus Extension EMF+ . I need to convert this file to to a PNG image file with java. Attempts to resolve problem in java: Apache Batik does not support EMF+ format (Batik supports WMF only format). FreeHEP does not support EMF+ too. It can convert EMF to SVG and then SVG to PNG . I hoped it can help: EMF2SVG.main( new String[] {inputMetaFileName,ontputSvgFileName}); this statement must convert EMF to SVG , but gives an exception: java.lang.NullPointerException at org.freehep.graphicsio