Help us shape the future of Go! Take the 2026 Go Developer Survey

pdfst

command module
v0.0.0-...-bcaf9b3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

README

��# PDFST

PDFST is a command line tool for stamping pdf files using png images build with GO. You can configure position, size and opacity.

Installation

Tool is just a single binary file. You can download it from latest release

Usage

pdfst <source> <stamp> <output> [options...] # <source> and <output> should be path to a pdf file and <stamp> can be a path of an image.

# Available Options: 
-p, --img-pos int # Image position: 1-9 (just like the phone's keyboard layout) (default 1)
-w, --img-w float # Target image width [mm] (can be omitted if height is)
-h, --img-h float # Target image height [mm] (can be omitted if width is)
-x, --offset-x float # Horizontal shift [mm] depending on the image position. (default 10)
-y, --offset-y float # Vertical shift [mm] depending on the image position. (default 10)
-o, --opacity float # Opacity of stamp. Float between 0 to 1 (default 0.8)
-v, --verbose # Display debug information

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU AGPLv3

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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