package
3.67.0
Repository: https://github.com/unidoc/unipdf.git
Documentation: pkg.go.dev

# Packages

Package tests provides integration tests for the UniPDF optimizer.

# Functions

New creates a optimizers chain from options.

# Structs

Chain allows to use sequence of optimizers.
CleanContentstream cleans up redundant operands in content streams, including Page and XObject Form contents.
CleanFonts cleans up embedded fonts, reducing font sizes.
CleanUnusedResources represents an optimizer used to clean unused resources.
CombineDuplicateDirectObjects combines duplicated direct objects by its data hash.
CombineDuplicateStreams combines duplicated streams by its data hash.
CombineIdenticalIndirectObjects combines identical indirect objects.
CompressStreams compresses uncompressed streams.
Image optimizes images by rewrite images into JPEG format with quality equals to ImageQuality.
ImagePPI optimizes images by scaling images such that the PPI (pixels per inch) is never higher than ImageUpperPPI.
ObjectStreams groups PDF objects to object streams.
Options describes PDF optimization parameters.