Registry / utility / pdfcpu-pdfcpu

pdfcpu-pdfcpu

JSON →
library0.13.0gogounverified

A PDF processor and library for Go, supporting manipulation, optimization, and encryption of PDF files.

go get github.com/pdfcpu/pdfcpu
INSTALL
IMPORT
SIG · PDFCPU-PDFCPU
P
pdfcpu-pdfcpu
utilitygov0.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pdfcpu
github.com/pdfcpu/pdfcpu

Gets page count of a PDF file.

package main import ( "fmt" "github.com/pdfcpu/pdfcpu/pkg/api" ) func main() { info, err := api.InfoFile("input.pdf", nil) if err != nil { panic(err) } fmt.Printf("Pages: %d\n", info.PageCount) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pdfcpu-pdfcpu — go get pdfcpu-pdfcpu · libregistry