任何将ppt转换为jpg的java库?
您知道用于ppt到jpg转换的任何Java库吗?
Do you know any java library for ppt to jpg conversion?
我已经尝试过openoffice3和POI( http://poi.apache.org /slideshow/quick-guide.html ).
I've tried openoffice3 and POI (http://poi.apache.org/slideshow/quick-guide.html).
即使我只想转换幻灯片,OpenOffice的加载时间也很长(完全启动). POI-HSLF仅生成简单幻灯片的图像(由我自己创建).从互联网获取的所有测试幻灯片均无法生成图像,并且生成的图像非常丑陋/原始.
OpenOffice takes quite long to load (full startup), even though I want to convert the slides only. POI-HSLF only generates images for simple slides (created by myself). all the test slides getting from internet failed to generate image, and the images it generated are very ugly/primitive.
您将需要像OpenOffice.org这样的功能完善的东西,因为您已经注意到,这些幻灯片会变得非常复杂.
You will need something full-fledged like OpenOffice.org, because as you noticed, those slides can become very complex.
POI主要实现办公格式的文件格式.您的任务仍然缺少一大块:布局和组成.尽管最简单的幻灯片易于布局,但是任何超出默认设置(或需要对其原始外观进行高保真度复制)的内容都将很难实施.
POI mostly implements the file format of the office formats. A whole big chunk is still missing from your task: layout and composition. While the simplest slides are easy to layout, anything that goes above the default settings (or needs an high-fidelity reproduction of how it looks in the original) will be very hard to implement.
我唯一能提供的好消息是,您可以在服务器模式下运行OpenOffice.org,因此您只需支付一次启动费用(尤其是在收获颇丰的服务器环境中).
The only good news I can offer is that you can run OpenOffice.org in server mode so that you have to pay the startup cost only once (especially in a server environment that is a big gain).