I want to convert PDF file into image in java. My PDF file will contain maximum of 3 pages, or it can be a single page or a two page PDF.
If 1 page: should get only one image
If 2 pages : should return two images (page1Image. page2Image)
If 3 pages : should return three images (page1Image. page2Image, page3Image)
Is this possible to do with java? Your help is greatly appreciated
Thanks in advance
I found this article in the web, but i could find required jar files to download :((
here is an example for converting pdf to image found on the web , hope it helpS you. http://www.rasteredge.com/how-to/vb-net-imaging/convert-pdf-to-image/
Dim PDF As New RasterEdgeImaging()
If True Then
PDFInputFile = ("C:/1.pdf")
PDFPageNumber = "5"
ImageOutputFile = ImageFormat.Png
PDF.Save("C:/1.pdf", 1, "C:/1.png")
Edited by: 1001045 on 2013-4-18 下午7:29