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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rottmanj

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

Post 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.
oddball508

PDF Open Parameters

Post 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"
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply