This is a rasterizing engine for PDF documents built around MuPDF and jemalloc.
Run the command go get github.com/nitro/lazypdf/v2
to add the dependency to your project. The documentation can be found here.
go build
go test -race
- Linux amd64
- MacOS arm64
To update MuPDF or jemalloc simply change its version at misc/{library}/version
and submit the change at a pull request. GitHub Actions will then trigger the process of updating the library and headers through a series of commits at the pull request branch.