I want to know how to get a image from pdf file

Hello

My English ability is very poor.

I have a pdf file.

I want to pdf file to html.

so I extract text from pdf (using itext..or java-pdf libraries)

but image is problem.

I want to extract image and save that.

How can I do?

I want to image save(not all of pdf file, just image area).

plz help me.

[358 byte] By [homekeepera] at [2007-11-27 7:40:36]
# 1

I think from looking at it (but I don't know) that PDF is actually storing images in PNG format... why reinvent the wheel, right.

To test this... open the PDF file in a text editor (editplus is excellent at this) ... now you'll find the phrase "\nstream\n" at the start of a chunk of binary data... copy from the start of the binay to end of file and paste into another file and save it as test.png ... try to open the file and see what happens.

Good luck with it. Keith.

corlettka at 2007-7-12 19:21:07 > top of Java-index,Java Essentials,Java Programming...