white margins on generated pdf

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
changsun
Posts: 1
Joined: 2018-05-07T13:38:30-07:00
Authentication code: 1152

white margins on generated pdf

Post by changsun »

Hi there,

I found the new version has issues for converting images to pdfs, where there can be white margins on the right-hand side. I am using the cmd line tool with the following options:
magick inputfile.arw -compress JPEG -quality 75 outputfile.pdf

Pls let me know how to resolve the issue.

Thanks
Chang
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: white margins on generated pdf

Post by fmw42 »

try adding +repage after input file.arw in your commandline.

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
Post Reply