ghostscript

When concatenating PDFs into a single file, I tried imagemagick:


convert first.pdf second.pdf third.pdf output.pdf


but the resolution suffered.


This forum suggests that Imagemagick makes use of ghostscript in this action and provides a command that cuts out the middleman:


gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=temp.pdf pdf1.pdf pdf2.pdf


This worked like a charm, and fast, but I'm not massively happy copypasting commands I'll never remember.


1) record it here for future use
2) alias it, or write a super simple bash script?
3) look into ghostscript and see if I can simplify the command, learn the syntax



Comments

Popular posts from this blog

no sound in Papers Please

pdf to png/jpg/etc

Crunchbang Changes