title: Imagemagick convert multiple images to pdf size
body: <p>For a project I am running ImageMagick to convert several images (all of the same size 960x570) into a single PDF.</p>
  
  <p>The command I'm running is:</p>
  
  <pre><code>convert *.jpg pdf/export.pdf
  </code></pre>
  
  <p>Since the images are all the same size I expect each PDF page to be equal in size but this is not the case as you can see in the screenshot below:</p>
  
  <p><img src="https://i.stack.imgur.com/ZTpn8.png" alt="example screenshot"></p>
  
  <p>This is bit annoying since I don't know how I can force the size of each PDF page to be the same.</p>
  
  <p>I tested the PDF on both an android device, ubuntu pdf reader and adobe reader and they all show the different sizes.</p>
  
  <p>Thanks for helping!</p>
  
  <p><strong>EDIT1:</strong>
  After testing out a few more things as suggested by Marc B and Basti I managed to put the same size on the JPG (uploaded) images.</p>
  
  <p>The problem still persists with the images that are generated using webkit2png (Python script that converts a webpage/html file to an image). After trying (almost?) everything in the convert command I can't get these generated images to shop up properly in the PDF as you can see below:</p>
  
  <p><img src="https://i.stack.imgur.com/pPLrm.png" alt="enter image description here"></p>
  
  <p><strong>Any help would be much appreciated!</strong></p>