Can anyone help me to render the multi pages of Pdf file as a single Tiff Image file using Java code. Thanks.
Asked
Active
Viewed 4,666 times
-1
-
What have you considered so far, based on your Google searches? – Thorbjørn Ravn Andersen Mar 16 '11 at 07:05
-
I found Big Faceless Java Pdf Library and tried using their code,but it just renders first page of Pdf or seperate tiff file for each Pdf page. – NewBie Mar 16 '11 at 07:19
-
I think GhostScript can render to TIFF, but I'm not sure it'll create a multi-image TIFF. ImageMagick can almost certainly handle that part. – Mark Storer Mar 16 '11 at 21:58
1 Answers
2
You can use the PDFBox library from Apache to read the file:
Here is a full working example you can use to start:

Alois Cochard
- 9,812
- 2
- 29
- 30
-
1@NewBie take a look at the 'main' method of this class: http://kickjava.com/src/org/pdfbox/PDFToImage.java.htm ... there is everything you need – Alois Cochard Mar 16 '11 at 07:14