Registry / utility / gen2brain-go-fitz

gen2brain-go-fitz

JSON →
library1.24.15gogounverified

A Go wrapper for the MuPDF library that extracts pages from PDF, EPUB, MOBI, DOCX, XLSX, and PPTX documents as images, text, HTML, or SVG.

go get github.com/gen2brain/go-fitz
INSTALL
IMPORT
SIG · GEN2BRAIN-GO-FITZ
G
gen2brain-go-fitz
utilitygov1.24.15
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.

fitz
✓ github.com/gen2brain/go-fitz

Opens a PDF and extracts the first page as an image.

package main import ( "fmt" "github.com/gen2brain/go-fitz" ) func main() { doc, _ := fitz.New("document.pdf") defer doc.Close() img, _ := doc.Image(0) fmt.Println(img.Bounds()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gen2brain-go-fitz — go get gen2brain-go-fitz · libregistry