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

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
clbring2172
Posts: 4
Joined: 2016-05-17T07:21:41-07:00
Authentication code: 1151

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

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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.
clbring2172
Posts: 4
Joined: 2016-05-17T07:21:41-07:00
Authentication code: 1151

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

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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?
Post Reply