Skip to content

Files

Latest commit

 

History

History
25 lines (19 loc) · 802 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 802 Bytes

LazyPDF

This is a rasterizing engine for PDF documents built around MuPDF and jemalloc.

Using

Run the command go get github.com/nitro/lazypdf/v2 to add the dependency to your project. The documentation can be found here.

Building

go build

Testing

go test -race

Supported environments

  • Linux amd64
  • MacOS arm64

Updating the native libraries

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.