Skip to content
Compare
Choose a tag to compare

pdfcpu version 0.1.9

@hhrutter hhrutter released this
· 437 commits to master since this release
Compare
Choose a tag to compare

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