Page 1 of 1

Merging PDF Files.. Not your normal question I promise...

Posted: 2007-01-23T17:38:22-07:00
by rottmanj
Ok, I know I know I know that imagemagick rasterizes the hell out of pdf's. But for this instance, we really don't care. I have tested all day long, and the pdf files that are converted from the tiff's I create are perfectly fine for what we are doing. Even after merging the files, they still look fine.

So now to the nitty gritty. After we have received a file, I do some processing, blah blah blah, and we end up with some individual tiff files, and individual pdf files. What I need to do is this. Take all the pdf files, and merge them into one pdf, this I know how to do. But the thing I do not know how to do is this, I need to add bookmarks and pages to the merged pdf. So that the user can easily move from page 1 to page lets say 10, with out have to scroll through the pages.

Is this even possible with gs or imagemagick? If so can someone give me a short example on how this can be done.

PDF Open Parameters

Posted: 2007-01-23T23:39:07-07:00
by oddball508
I don't know if this can bet set in the file, but you can control the way a PDF is opened from html or code. Look on the Adobe site for the "PDF Opening Parameters"

eg;
acrobat.exe /A "pagemode=bookmarks" "c:\test.pdf"

Posted: 2007-01-24T00:28:12-07:00
by anthony
This is not something the IM does. For Document handling as you describe you may like to ask on other mailing lists for PDF. or even look at the PDF extras provided by the TeX people. They create and handle PDFs all the time.