title: How to manage image placement when converting to pdf with imagemagick?
body: <p>I have a bunch of png's ripped from github, that look kind of like this:</p>
  
  <p><img src="https://i.stack.imgur.com/4glUb.png" alt="enter image description here"></p>
  
  <p>All have a width of 912, but the heights vary.</p>
  
  <p>I'm trying to convert them all to a nice readable A4 pdf, using:</p>
  
  <pre><code>convert -page A4 *.png -format pdf file.pdf
  </code></pre>
  
  <p>I can get them all into the pdf, but can't get the results quite right:</p>
  
  <ul>
  <li>It puts them on the bottom instead of the top of the page.</li>
  <li>Also, most of them fit on one page, but for the ones with lots of pixels going down, I'd like to split and crop it so it spans multiple pages while keeping a consistent size</li>
  </ul>
  
  <p>How do I get them on the top of the page (centered, or left-justified with a bit of margin), and bonus points for splitting them?</p>