Image quality of Pdf to tiff is not very well

Hi,

I use the following code to convert pdf to tiff.

Dim pdfkitliscense As Aspose.Pdf.Kit.License = New Aspose.Pdf.Kit.License()

pdfkitliscense.SetLicense("Aspose.Total.lic")

Dim converter As PdfConverter = New PdfConverter()

converter.BindPdf(newfilename)

converter.DoConvert()

''Dim imageCount As Integer = 1

converter.SaveAsTIFF(filetif)

The tiff file is blur. Especially the printing quality is not good. Attached are the files. Is there any way to improve it?

Thank you for your help!

Helen

Hello Helen,

Thanks for considering Aspose.

The PdfContentEditor class has a property named Resolution which can be used to set the resolution of the resultant Image. Higher the resolution value slower the conversion speed will be. Please try using the value as 300, as I’ve tested it with that value and the resultant Image is quite good. The output file is in attachment, please take a look.

In case of any further query, feel free to contact.

Could you send me this code to test it. It is in a different classs.

Thanks for help!

Helen

Hello Helen,

Please try using the following code snippet. I’ve tested it using Aspore.dot.Kit 3.4.0.0.

[VB.Net]

Dim converter As PdfConverter = New PdfConverter()

converter.BindPdf("D:\pdfTest\b4t5r4z0jfvmb24532kyaoiyTest1.pdf")

' call the method to convert PDF to image
converter.DoConvert()

' set the resolution of the resultant image
converter.Resolution = 300

' save the TIFF image
converter.SaveAsTIFF("D:\pdfTest\b4t5r4z0jfvmb24532kyaoiyTest1_test.tiff")

In case of any further query, please feel free to contact.

Thank you for help! The printing quality is better now. But it take longer time. Do you have any "loading indicator" for slow loading file that I can add in my program?

Thanks!

Helen

Hi Helen,

I'm afraid that this feature is not supported in Aspose.Pdf.Kit.

We're sorry for the inconvenience.

Regards,