We are having an issue where the same code does not produce equivalent output between windows and linux.
The below .NET core compatible code can be used to render PDF pages into tiff images, but on Linux the barcode images which are present on some pages are getting cut off. This does not happen on Windows.
Dim pdfDoc As New Document(FilePath)
Dim index As Integer = 0
Dim pageCount = pdfDoc.Pages.Count
Dim PDFdirectory = System.IO.Path.GetDirectoryName(FilePath)
For index = 0 To pageCount - 1
Dim imgFile As New FileStream(PDFdirectory & "/Images/" & FileName & "img_" & index & ".png", FileMode.Create)
Dim pngDevice As New PngDevice()
pngDevice.Process(pdfDoc.Pages(index + 1), imgFile)
imgFile.Close()
Next
Edit: I was able to upload a sample PDF and sample output now as well. Please note pages 4,7, and 9 of the document.
Test_Invoice.pdf (490.3 KB) Test_invoice_linux.zip (426.8 KB)