Android pdf convertor

Hi,

I have two questions:
Android application
Convert pdf file to image
This is my code:

License license= new License();
InputStream iS = getResources().getAssets().open(“Aspose.Pdf.lic”); license.setLicense(iS);

String path = getApplicationContext().getFilesDir() + “/”;
com.aspose.pdf.facades.PdfConverter converter = new com.aspose.pdf.facades.PdfConverter();
converter.bindPdf(path + “myPdfFile.pdf”);
converter.setStartPage(1);
converter.setEndPage(1);
converter.doConvert();

String suffix = “.jpg”;
int imageCount = 1;
while (converter.hasNextImage())
{
File file = new File(path+imageCount + suffix);
if (file.exists())
file.delete();
//convert pdf page to image
converter.getNextImage(path + imageCount + suffix, ImageFormat.getJpeg(),300,600,100);


imageCount++;
}

Qustion 1:
Still there is a message :Evaluation Only.Created with Aspose…????
Question 2:
Why doing this
converter.getNextImage (
takes 3 to 5 minutes ???
pdf file contains only one page!!!


Thank you in advance for your help

EladAssuta:
Qustion 1:
Still there is a message :Evaluation Only.Created with Aspose…????
Hi Elad,

Thanks for contacting support.

It appears that license is not properly being initialized during execution. Please ensure that license file is present/accessible over path specified in your code. In case you still face the same issue, please share the license file by following instructions over How to send a license?
EladAssuta:
Question 2:
Why doing this
converter.getNextImage (
takes 3 to 5 minutes ???
pdf file contains only one page!!!
The time taken by API for PDF to Image conversion depends upon the structure and complexity of input file. Can you please share the document so that we can test the conversion at our end. We are sorry for your inconvenience.