github pdfcpu/pdfcpu v0.1.9
pdfcpu version 0.1.9

Version: 0.1.9

Redesigned extraction API with focus on returning the extracted data rather than writing it somewhere.
It is up to the API consumer how to process the extracted data.

func ImageData(ctx *types.PDFContext, objNr int) (*types.ImageObject, error)
func FontData(ctx *types.PDFContext, objNr int) (*types.FontObject, error)
func ContentData(ctx *types.PDFContext, objNr int) (data []byte, err error)

This takes care of #7

latest releases: v0.3.6, v0.3.5, v0.3.4...
2 years ago