任何将ppt转换为jpg的java库? [英] Any java library for ppt to jpg conversion?

查看:56
本文介绍了任何将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).

这篇关于任何将ppt转换为jpg的java库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆