Hello,
I try to convert an emf image to png using the method described in the sample directory (emf2png.java)
I'm using aspose-metafiles-1.7.1-java library
I have the following error :
sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.aspose.ms.java.utf7charset.provider.CharsetProvider not found
at sun.misc.Service.fail(Service.java:129)
at sun.misc.Service.access$000(Service.java:111)
at sun.misc.Service$LazyIterator.next(Service.java:273)
at java.nio.charset.Charset$1.getNext(Charset.java:320)
at java.nio.charset.Charset$1.hasNext(Charset.java:333)
at java.nio.charset.Charset$4.run(Charset.java:552)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.availableCharsets(Charset.java:547)
at com.aspose.metafiles.MetafileCharsetCollection.do(SourceFile:163)
at com.aspose.metafiles.MetafileCharsetCollection.do(SourceFile:749)
at com.aspose.metafiles.MetafileCharsetCollection.<clinit>(SourceFile:740)
at com.aspose.metafiles.obfuscated.cm.<init>(SourceFile:149)
at com.aspose.metafiles.EmfMetafile.playMetafile(SourceFile:122)
at com.aspose.metafiles.EmfMetafile.playMetafile(SourceFile:203)
...
The image is first extrated from the doc file (using aspose.words), and then converted.
How can I fix this problem ?
Many thanks