Please help me understand why this PDF file was imported with an error message
yangyang20 opened this issue · 2 comments
yangyang20 commented
Please help me understand why this PDF file was imported with an error message
11524355_1-5.pdf
`pdf := gopdf.GoPdf{}
pdfRect := gopdf.Rect{W: pdfWidth, H: pdfHeight}
pdf.Start(gopdf.Config{PageSize: pdfRect})
pdf.AddPage()
tpl1 := pdf.ImportPage(inputPath, 1, "/MediaBox")
pdf.UseImportedTemplate(tpl1, 0, 0, pdfRect.W, pdfRect.H)
pdf.WritePdf("t2.pdf")`
mboonchai commented
Hi, the ‘ImportPage’ function relies on the phpdave11/gopdi library for its underlying function. I would kindly suggest reporting the issues directly to gopdi project.
vantaboard commented
@oneplus1000 can you close this issue if it has been resolved? This issue appears to be related to another library.