Java 中的文档渲染

发布于 2024-07-14 13:15:57 字数 150 浏览 6 评论 0原文

我想从服务器端 Java 将 MSWord、PDF、HTML 等渲染为图像(例如 TIFF)。

大多数可用产品都是共享软件打印机驱动程序,因此不适合商业服务器应用程序:我希望该库功能强大、支持良好、高性能且并发。

对开源或商业图书馆有什么建议吗?

I want to render MSWord, PDF, HTML, etc to an image (e.g. TIFF) from server-side Java.

Most available products are shareware printer drivers, and so not suited to a commercial server app: I'd like the library which is robust, well-supported, performant, and concurrent.

Any suggestions for open-source or commercial libraries?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

<逆流佳人身旁 2024-07-21 13:15:57

请参阅这些:

如果您在搜索中没有找到它们,请不要感到难过,您可能只是使用了 SO 搜索,而不是谷歌搜索“site:stackoverflow.com 转换 pdf 图像 java”(等)。

Refer to these:

And if you didn't find them in a search don't feel bad, you probably just used the SO search instead of googling for "site:stackoverflow.com convert pdf image java" (etc).

我不吻晚风 2024-07-21 13:15:57

似乎在这个 API 的某个地方,iText,您将能够将 PDF 渲染为图像。 对于 HTML,您可以考虑 Flying Saucer(但该项目看起来很糟糕)。 遗憾的是 JWebPane 尚未准备好。

对于 MSWord...没有任何线索。

Seems that somewhere in this API, iText, you'll be able to render a PDF to an image. For HTML you may consider Flying Saucer (but the project looks deadish). Shame that JWebPane isn't ready yet.

For MSWord ... no clue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文