]>
| description | Crop and stitch pages from PDF to larger, single-page PDF |
| owner | Jakob Haufe |
| last change | Thu, 17 May 2018 18:51:29 +0000 (18:51 +0000) |
| URL | /afs/sur5r.net/git/pdfstitch |
| https://git.sur5r.net/pdfstitch |
pdfstitch does a similar job to pdfnup but focuses on the following features:
It has been created to print sewing patterns distributed as A4 or Letter PDFs on a large format printer thus saving oneself the hassle of cutting and gluing individual pages.
pdfstitch is free software under the GNU AGPL version 3. See LICENSE for details.
pdfstitch is dedicated to the memory of Janka "marsi" Kuhfuß.
pdfstitch makes use of the following Perl modules:
On Debian, you can install them with:
# apt install libfile-libmagic-perl libpdf-api2-perl libyaml-perl
On FreeBSD, you can install them with:
# pkg install p5-File-LibMagic p5-PDF-API2 p5-YAML
Run pdfstitch on your input PDF:
./pdfstitch [--genmeta] [--defaultcrop=0.9] foobar.pdf
This will generate a YAML file called foobar.pdf.stitch. Edit this file according to the desired output.
This is also the default action if called with a PDF. Per default 10% (factor 0.9) is applied as crop factor.
You can adjust this value with the --defaultcrop parameter.
Optional: Generate a preview and/or cropped PDF:
./pdfstitch --preview foobar.pdf.stitch
This will generate a new PDF called foobar-preview.pdf.
It contains only the pages you select in the YAML file with each page being overlayed with a transparent box
showing the area the page will be cropped to.
./pdfstitch --crop foobar.pdf.stitch
This will generate a new PDF called foobar-cropped.pdf.
It contains only the pages you select in the YAML file with each page being cropped accordingly.
Generate the final stitched PDF:
./pdfstitch --stitch foobar.pdf.stitch
This will generate a single-page PDF called foobar-stitched.pdf with all selected pages being
stitched together as specified in the YAML file.
This is also the default action if called with just a YAML file.
| 8 years ago | v0.6 | Tag v0.6 | tag | | commit | shortlog | log |
| 8 years ago | v0.5 | Tag v0.5 | tag | | commit | shortlog | log |
| 8 years ago | v0.4 | Tag v0.4 | tag | | commit | shortlog | log |
| 8 years ago | v0.3 | Tag v0.3 | tag | | commit | shortlog | log |
| 8 years ago | v0.2 | tag v0.2 | tag | | commit | shortlog | log |
| 8 years ago | v0.1 | Release version 0.1 | tag | | commit | shortlog | log |
| 2 years ago | main | shortlog | log | tree |
| 7 years ago | master | shortlog | log | tree |