Merging PDF Files.. Not your normal question I promise...
Posted: 2007-01-23T17:38:22-07:00
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.
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.