[magick-users] Merge pdf documents

Michael Geary listmail at gearyweb.com
Fri Aug 8 12:09:43 PDT 2003


I never thought I would be able to answer one of your guys'  questions. 
The following works much better for me in ghostscript (watch for wraps, 
this is all one line):

%gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=mergedPDF.pdf 
file1.pdf file2.pdf file3.pdf

this is much, much faster than the script you thoughtfully put 
together, Jeff.

However, for you wizards out there, I do have a PDF document that I am 
concatenating in this fashion. It has a gradient on it, and GS is doing 
something to the gradient to much up its display in Acrobat. I don't 
know enough about the innards of PDFs to be able to tell what is 
happening. Has anyone seen this? Can you recommend a good GS list where 
I could post this?

Thanks,

michael geary

On Monday, July 28, 2003, at 12:30 PM, Jeff Spirko wrote:

> On Mon, Jul 28, 2003 at 02:05:54PM -0400, Leonard Rosenthol wrote:
>> At 05:26 PM 7/28/2003 +0300, Murad_Tamimi at sgs.com wrote:
>>> Can ImageMagick merge two pdf documents into one output pdf document?
>>         Yes, it can - BUT you will end up with rasterized PDF's.
>
> You can get ghostscript to do it with some trickery.  I have
> attached a bash script which I threw together to do the work.
>
> -- 
> Jeff Spirko   spirko at lehigh.edu   spirko at yahoo.com   WD3V   |=>
>
> The study of non-linear physics is like the study of non-elephant 
> biology.
>
> All theoretical chemistry is really physics;
> and all theoretical chemists know it. -- Richard P. Feynman
> <pdfmerge>_______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>

-----------------------------------------------
michael geary
The Treeline Group, Inc.
560 S. State Street, E-2
Orem, UT 84058

(801) 225-1414 x 1002
http://www.treelinegroup.com



More information about the Magick-users mailing list