Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

License file not registered for PDf conversion

$
0
0
In our current project we're converting multiple formats (gif, jpg, html, pdf etc) to tiff.
For this we first register the license of the component as such

Dim imagingLicense As Aspose.Imaging.License = New Aspose.Imaging.License()
imagingLicense.SetLicense("Aspose.Imaging.lic")

Dim licensePdf As Aspose.Pdf.License = New Aspose.Pdf.License()
licensePdf.SetLicense("Aspose.Pdf.lic")

When we convert a pdf to tif as follows we get the unlicensed overlay as if our license is not valid

Using pdfDocument As New Document(inputFileName)
Dim resolution As New Resolution(200)
Dim tiffSettings As New TiffSettings()
tiffSettings.Compression = CompressionType.CCITT4
Dim tiffDevice As New TiffDevice(resolution, tiffSettings)

tiffDevice.Process(pdfDocument, outputFileName)
End Using

This problem only occurs when we use the Aspose.Pdf v8.6.0.0, but not with the older v8.4.0.0
We don't have the problem with the latest Aspose.Imaging library (v2.2).

Has anybody else encountered this problem?
How can we find more information on why the license is not applied?
Should I check something in the lic file?

Viewing all articles
Browse latest Browse all 3131

Trending Articles