Converting from pdf to jpeg produce a black image

Hi guys!

Using thie code above the converted pdf result in a black jpeg image…
(Attached the pdf file)

Any ideas?

PdfConverter converter = null;
File filePDF = null;
try
{
filePDF = new File("/home/gar/Temp/test/fattura1.pdf");
converter = new PdfConverter();
converter.bindPdf( filePDF.getAbsolutePath() );
converter.doConvert();
}
catch (Exception e)
{
e.printStackTrace();
return;
}

try
{
while (converter.hasNextImage())
{
File fileImg = new File( “/tmp/001-000.jpg” );
converter.getNextImage(fileImg.getAbsolutePath(), ImageType.JPEG);
}
}
catch (Exception e)
{
e.printStackTrace();
return;
}


Hi Giuseppe,

I have reproduced this problem at my end and logged it as PDFKITJAVA-28854 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once it is resolved.

We’re sorry for the inconvenience.
Regards,

Hi guys,

any solutions for this?

Thank you.

Hi Giuseppe,

I’m sorry to inform you that this issue is not yet resolved. However, I have asked our team to share the ETA of this issue. You’ll be updated as soon as the response is received.

We’re sorry for the inconvenience.
Regards,

Any News ? We have some customers that have the problem and ask us when will be solved

Hi Giuseppe,

Our team had looked into this issue in detail and I would like to share with you that the fix for this issue is expected in the release due early September 2011. You’ll be notified via this forum thread once it is released.

If you find any further questions, please do let us know.
Regards,

The issues you have found earlier (filed as 28854) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.