任何将ppt转换为jpg的java库?

编程入门 行业动态 更新时间:2024-10-10 11:19:43
本文介绍了任何将ppt转换为jpg的java库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您知道用于ppt到jpg转换的任何Java库吗?

Do you know any java library for ppt to jpg conversion?

我已经尝试过openoffice3和POI( poi.apache /slideshow/quick-guide.html ).

I've tried openoffice3 and POI (poi.apache/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这样的功能完善的东西,因为您已经注意到,这些幻灯片会变得非常复杂.

You will need something full-fledged like OpenOffice, 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,因此您只需支付一次启动费用(尤其是在收获颇丰的服务器环境中).

The only good news I can offer is that you can run OpenOffice 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库?

本文发布于:2023-10-31 10:38:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545833.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转换为   ppt   java   jpg

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!