Page 1 of 1

Pages zoom out when using convert to merge multiple PDFs to 1 PDF

Posted: 2016-05-17T08:11:41-07:00
by clbring2172
Hello,

I am pretty new to ImageMagick and I am having an issue I can't seem to figure out. I have about 75 single page PDF files and need to merge those into a single PDF file. My code is below:

sudo -i convert 'find /home/cloud-user/EOB_Proofing_Process/ImageProcess/Process/Compare/EOB/ -iname 'SPFile6_05162016_??*.pdf'| sort -t_ -k3` /home/cloud-user/EOB_Proofing_Process/ImageProcess/Output/EOB/merged/SPFile6_05162016_Diff_Files.pdf

This code creates the single PDF file but when i open the file to view the pages the verbiage is so zoomed out it is unreadable.

Has anybody else had this problem?

Any Help would be greatly appreciated.

Re: Pages zoom out when using convert to merge multiple PDFs to 1 PDF

Posted: 2016-05-17T09:07:41-07:00
by fmw42
You likely need to set a desired density before reading your input PDF. Also note that Imagemagick is not the best tool to go from vector format to vector format. It will rasterize the vector image. See http://www.imagemagick.org/Usage/formats/#vector

Please always provide your IM version and platform when asking questions on this forum.

Re: Pages zoom out when using convert to merge multiple PDFs to 1 PDF

Posted: 2016-05-17T10:59:51-07:00
by clbring2172
Thanks for the info fmw42.

I am working on a rhel platform and have ImageMagick-6.7.8.9-10.el7.x86_64 installed.

Re: Pages zoom out when using convert to merge multiple PDFs to 1 PDF

Posted: 2016-05-17T11:04:43-07:00
by fmw42
Are your input PDF's pure vector files or do they have raster images imbedded? If the latter, then each image may have its own internal density and that may be what is causing your issue. You might want to extract the raster images using pdfimage before combining?