Skip to content

pdfcpu version 0.1.9

Choose a tag to compare
@hhrutter hhrutter released this 01 Apr 00:15
· 716 commits to master since this release

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