I need to merge multiple pdf's into single file which I'm doing like this:
gs -q -sDEVICE=pdfwrite -sOutputFile=aio.pdf aio_single.pdf another.pdf
and it is working, but it is extremely slow (~5 minutes) - file
aio_single.pdf contains almost 380 pages.
for example similar command using
pdftk takes about ~1sec
pdftk aio_single.pdf another.pdf output aio.pdf
Is there any solution to speedup this? I don't wan't to use any kind of compression, image manipulation and so one... Just make single file from them..
The reason I am using
ghostscript instead of
pdftk is that after merging files - bookmarks aren't clickable anymore :/