pdfthumb

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderPage1

func RenderPage1(content []byte) ([]byte, error)

RenderPage1 rasterizes the first page of a PDF to a PNG thumbnail (~pdfThumbScaleTo px wide, aspect-preserved) via pdftoppm. Returns errPDFToolUnavailable when pdftoppm cannot be found, so callers can fall back to their previous non-thumbnail behaviour.

Types

This section is empty.

Jump to

Keyboard shortcuts

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