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,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.

PdfContentEditor class has a property named Resolution which can be used to set the resolution of the resultant Image. But, higher the resolution value, the slower is conversion speed. Please try using the value as 300, as I’ve tested it with that value and resultant Image is quite much better. 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,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Please try using the following code snippet. I've tested it using Aspose.Pdf.Kit 3.4.0.0

[VB.Net]

'constructor of the PdfConverter object.
Dim converter As PdfConverter = New PdfConverter()
' Bind a Pdf file for converting
converter.BindPdf("D:\pdfTest\b4t5r4z0jfvmb24532kyaoiyTest1.pdf")
' call the method to convert PDF to image
converter.DoConvert()
' set the resoluiton 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,