gofpdi
gofpdi copied to clipboard
Go Free PDF Document Importer
I am getting a `nil` pointer error on `resolveObjects` method while I am inserting an existing pdf to a new pdf ```go package main import "github.com/signintech/gopdf" func main() { gPdf...
When I am trying to load a pdf using `importer.SetSourceStream`, I get the panic ``` panic: Failed to initialize parser: Failed to read pdf: Failed to to read pages: Failed...
`zlib.NewReader` can return `nil` value in case of malformed compressed data (https://cs.opensource.google/go/go/+/refs/tags/go1.18.1:src/compress/zlib/reader.go;l=82), this would lead to a crash on an attempt to use `zlibReader`. Implemented error handling will eliminate such...
Dear gofpdi author, hello. It appears that the gofpdi.NewImporter().SetSourceFile(pdfFileName) in your work tends to continuously hold onto the PDF, and you haven't provided a method in the API to release...
Hello, this package is great, but I'm unable to import PDFs that have been exported from browsers. It works completely fine when importing PDFs exported from jung-kurt/gofpdf, but if I...
If I try to import more than one file the last file imported will be used instead of all other files. This is because the same hash is generated for...
I have a pdf where the encoding does not seem to be supported, but I think you should check the error here, otherwise I get a runtime error. runtime error:...
Hi I do follow import the pdf page in the example and it works like a charm ``` package main import ( "bytes" "github.com/phpdave11/gofpdf" "github.com/phpdave11/gofpdf/contrib/gofpdi" "io" "io/ioutil" "net/http" ) func...
When generating a PDF file that uses imported pages I get the following error in Adobe Acrobat: There was an error processing a page. There was a problem reading this...