Add Ghostscript PDF merging

This commit is contained in:
exu 2023-07-29 15:37:39 +02:00
parent d6e6d96d92
commit c167317638

View File

@ -18,6 +18,22 @@ convert -density 600 {INPUT.PDF} -crop 50x100% +repage {OUT.PDF}
-crop 50x100%: this splits the pdf into "left" and "right". 100x50% would split into "top" and "bottom" -crop 50x100%: this splits the pdf into "left" and "right". 100x50% would split into "top" and "bottom"
``` ```
## Ghostscript
### Merge multiple PDF files
Ghostscript is preinstalled on a lot of Linux systems and can quite easily be used to merge and optimize multiple PDF files into one.
[shuser]
```sh
gs -q -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o merged.pdf <first>.pdf <second>.pdf
```
[/shuser]
> [Merge / convert multiple PDF files into one PDF](https://stackoverflow.com/a/19358402)
## Find ## Find
### Change filtered permissions ### Change filtered permissions