Aspose.slides for java has unexpected dependency on aspose.metafiles

We are evaluating aspose.slides and aspose.pdf.kit. We are looking to purchase, but NOT until the following issue is resolved. Seems slides has a dependency on metafiles - another expensive library in its own right. None of your sales literature we examined mentions this. Can you investigate, confirm and resolve?

We are using slides to convert ppt files to pdf’s and jpg thumbnails. We were successfully able to get the functionality we sought, but in the process discovered a confusing and a bit irritating dependency on the aspose.metafiles library:

KB06606@CHG211134 /aspose.slides/examples/oledemo
$ java OleDemo
Exception in thread “main” java.lang.NoClassDefFoundError: com/aspose/metafiles/MetafilesException
at com.aspose.slides.Slide.saveToAps(SourceFile:1511)
at com.aspose.slides.obfuscated.vr.do(SourceFile:52)
at com.aspose.slides.Presentation.save(SourceFile:3398)
at com.aspose.slides.Presentation.save(SourceFile:3346)
at OleDemo.main(OleDemo.java:48)
Caused by: java.lang.ClassNotFoundException: com.aspose.metafiles.MetafilesException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 5 more

Hi Brian,

Thanks for your interest in Aspose.Slides.

As you have mentioned that you are using Aspose.Slides for Java to convert presentation slides to PDF and thumbnails. For such tasks, yes, you have to buy separate license for Aspose.Metafiles. But there are a lot of other tasks which can be done without Aspose.Metafiles. Metafiles library is necessary, if you need convert slides with metafiles to images or you need read/write metafiles from/to a slide.

We are sorry for your inconvenience,