pngfy

command module
v0.0.0-...-9fe44e7 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

README

pngfy

Author: Pietro Mascolo

pngfy converts a directory of pdf files into individual png files for each page

Usage for single file:

./pngfy FILE [--width=WIDTH] [--height=HEIGHT][--target=TARGET]

Usage for whole directory:

./pngfy convert DIRECTORY [--width=WIDTH] [--height=HEIGHT][--target=TARGET]

Width and height are optional parameters to set the size of the resulting images (in pixels). Default values are 840x1188 (A4 ratio).
Target represents the parent folder to the result directories, default target is <DIRECTORY>/target or <directory of FILE>/target.

The results will be saved in target directory: one sub-directory per file containing png images numbered from 0 to N.

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