Simple Go bindings for qpdf C / C++ API; mostly for linearization.
I would not recommend using this on production. I only worked on it to experiment with cgo, and I do not plan on maintaining it very often. Contributions are nevertheless, welcomed.
To build, and run the package, you must have libqpdf
installed.
On Debian systems, this can be achieved using
apt-get install libqpdf-dev
.
-
Download, and install
go-qpdf/qpdf
:go get github.com/MrSaints/go-qpdf/qpdf
-
Import the package into your code:
import "github.com/MrSaints/go-qpdf/qpdf"