Hi Users,

I am Raja Subramanian.i am a Dot net developer.i am trying to convert pdf 
documents into image files.
for that i am using pdfbox.
while googling i got the below code.

CODE:

PDDocument document = PDDocument.load(str);
java.util.List pages= document.getDocumentCatalog().getAllPages();
for(int i=0;i<pages.size();++i)
{
PDPage page =(PDPage)pages.get(i);
java.awt.image.BufferedImage image=page.convertToImage();
java.io.File file = new java.io.File(("pdf"+i+".png"));
ImageIO.write(image, "png", file);


while running the above code in my IDE in line java.awt.image.BufferedImage 
image=page.convertToImage();
am getting an error that Type is not implemented yet.
so now i am help less to move further.
so anyone please help me to move further.
Thanks in Advance.

Regards,
Raja Subramanian.

Reply via email to