Convert PDF 1st page to image

Hi,

My requirement is as follows.

1. Read PDF document 1st page and return image (TIFF, JPEG, BMP)

2. Use only open source or Java API.

3. Should work with high resolution PDFs and large size PDF documents.

I tried with multivalent API, But it is not working with couple of PDF files. All images are not perfect. Couple of available APIs are at

http://schmidt.devlib.org/java/libraries-pdf.html

Any examples, pointers to other sites, hints, pseudo code or notes are appreciated.

Thank you,

Bhavani

[559 byte] By [polimetlaa] at [2007-11-27 10:45:21]
# 1

Have you checked out iText?

http://www.java-source.net/open-source/pdf-libraries

http://www.java-source.net/open-source/pdf-libraries/itext

KarthikRa at 2007-7-28 20:12:28 > top of Java-index,Java Essentials,Java Programming...
# 2

it wont help.

polimetlaa at 2007-7-28 20:12:28 > top of Java-index,Java Essentials,Java Programming...
# 3

Though i myself haven't used it, you may want to check out pdfbox :

[code[

http://www.pdfbox.org/

...PDFBox is an open source Java PDF library for working with PDF documents...

...Create images from PDF pages...

[/code]

http://kickjava.com/src/org/pdfbox/PDFToImage.java.htm

KarthikRa at 2007-7-28 20:12:28 > top of Java-index,Java Essentials,Java Programming...
# 4

Not working with all PDFs....

polimetlaa at 2007-7-28 20:12:28 > top of Java-index,Java Essentials,Java Programming...
# 5

Too bad,

Hippolytea at 2007-7-28 20:12:28 > top of Java-index,Java Essentials,Java Programming...