pdf

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package pdf provides methods for PDF-related operations for fingerprint SVG documents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromReader

func FromReader(ctx context.Context, r io.ReadSeeker, title string, opts *fpdf.Options) (*fpdf.Document, error)

FromReader will generate a `fpdf.Document` instance derived from 'r' (which is expected to be a valid fingerprint SVG document. The body the `fpdf.Document` instance will contain a full-page rasterized rendering of the SVG document followed by one or more pages containing the body of the `aaronland/go-fingerprint/svg.Document` representation of the SVG document as JSON-encoded text.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL