2

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?

Joshua Fox
  • 18,704
  • 23
  • 87
  • 147

2 Answers2

1

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).

Community
  • 1
  • 1
cletus
  • 616,129
  • 168
  • 910
  • 942
  • Thanks, yes, I used the SO search. Still, those answers don't address my question: How to render MSWord (or HTML) to an image, e.g., TIFF. They do give ideas for PDF-to-image, but I was hoping for a solution for these other formats -- and preferably the same solution covering them all. – Joshua Fox Feb 18 '09 at 12:21
  • Thanks, that's good. It would be best to have a universal solution: HTML, PDF, Word, plaintext, and all other formats. – Joshua Fox Nov 05 '11 at 17:22
0

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.

basszero
  • 29,624
  • 9
  • 57
  • 79