Free Support Forum -

PDF -> Image- bad colour & kerning


Not sure if i am doing something wrong but the quality of Pdf Kit image conversion seems to be really bad.

I tried several random PDFs and they all had color problems, kerning problems etc.

Here is a screenshot of adobe reader displaying the PDF followed by what PDF kit outputs.

Is my trial license not getting applied perhaps and its applying some limitations? Thanks for any help.

Code is:

License license = new License();
FileInputStream licenseStream = new FileInputStream(“Aspose.Total.Java.lic”);
File dir = new File(“D:\Temp\pdf\”);
String[] files = dir.list();
for(String file : files){

File outputDir = new File(“D:\Temp\pdf\output.” + file);
PdfConverter converter = new PdfConverter();
converter.bindPdf(“D:\Temp\pdf\” + file);
String prefix = “D:\Temp\pdf\output.” + file + “\page-”;
String suffix = “.bmp”;
int imageCount = 1;
while (converter.hasNextImage())
converter.getNextImage(prefix + imageCount + suffix, ImageType.BMP);
}catch(Exception ex){

Hi Darren,

Thanks for using our products.

Can you please share the sample PDF file so that we can test the scenario at our end. Please note that the trial version provides the same set of features as offered in licensed version but the only difference is that the output generated with trial version contains evaluation watermark.

We are sorry for this inconvenience.

You can download it here:


Hi Darren,

Thanks for sharing the resource file link. I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as
will investigate this issue in details and will keep you updated on the status
of a correction.

apologize for your inconvenience.