package
0.10.0
Repository: https://github.com/unidoc/unipdf-cli.git
Documentation: pkg.go.dev

# Functions

Decrypt decrypts the PDF file specified by the inputPath parameter, using the specified password and saves the result to the destination specified by the outputPath parameter.
Encrypt encrypts the PDF file specified by the inputPath parameter, using the specified options and saves the result at the location specified by the outputPath parameter.
Explode splits the PDF file specified by the inputPath parameter into single page PDF files.
ExtractImages extracts all image content from the PDF file specified by the inputPath parameter.
ExtractText returns all text content from the PDF file specified by the inputPath parameter.
FormExport exports all form field values from the PDF file specified by the inputPath parameters, as JSON.
FormFillFDF fills the form field values from the PDF file specified by the inputPath parameter, using the values from the FDF file specified by the fdfPath parameter.
FormFillJSON fills the form field values from the PDF file specified by the inputPath parameter, using the values from the JSON file specified by the jsonPath parameter.
FormFlatten flattens all the form annotation from the PDF file specified by the inputPath parameter.
GetLicenseKey get information about user license key.
GetMeteredState freshly checks the state, contacting the licensing server.
Grayscale converts the pages of the PDF file specified by the inputPath parameter to grayscale.
Info returns information about the PDF file specified by the inputPath parameter.
Merge merges all the PDF files specified by the inputPaths parameter and saves the result at the location specified by the outputPath parameter.
Optimize optimizes the PDF file specified by the inputPath parameter, using the provided options and saves the result at the location specified by the outputPath parameter.
Organize extracts the provided page list from PDF file specified by the inputPath parameter then merges the individual pages and saves the resulting file at the location specified by the outputPath parameter.
Passwd changes the owner and user password of an encrypted PDF file.
Render renders the pages of the PDF file specified by the inputPath parameter to image targets.
Rotate rotates the pages of the PDF file specified by the inputPath by the angle specified by the angle parameter.
Search searches the provided text in the PDF file specified by the inputPath parameter.
SetLicense sets the license for using the UniDoc library.
SetLogLevel sets the verbosity of the output produced by the UniDoc library.
SetMeteredKey sets the license key for using the UniDoc library with metered api key.
Split extracts the provided page list from PDF file specified by the inputPath parameter and saves the resulting file at the location specified by the outputPath parameter.
Version returns version and license information about the Unidoc library.
Watermark adds the watermark image specified by the watermarkPath parameter to the pages of the PDF file specified by the inputPath parameter.

# Structs

EncryptOpts contains settings for encrypting a PDF file.
FileInfo contains information about a PDF file.
FileStat contains basic information about a file.
OptimizeOpts represents the options used for optimizing PDF files.
OptimizeResult contains information about the optimization process.
RenderOpts represents the options used for rendering PDF pages to images.
SearchResult contains information about a found search term inside a PDF page.
VersionInfo contains version and license information about the Unidoc library.