Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help me understand why this PDF file was imported with an error message #266

Open
yangyang20 opened this issue Sep 7, 2023 · 2 comments

Comments

@yangyang20
Copy link

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
Copy link
Collaborator

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
Copy link
Contributor

@oneplus1000 can you close this issue if it has been resolved? This issue appears to be related to another library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants