title: Scale down to fit an image in FOP
body: <p>I am using FOP version 1.0 to create PDFs. In one of the pages I'd like to display an image (2552 x 4200 pixel) and scale it down if it doesn't fully fit on the page. As far as I could see on the <a href="http://old.nabble.com/scale-image-if-too-large-td20487957.html" rel="noreferrer">mailing list</a> the recommended way of doing this would be following:</p>
  
  <pre><code>&lt;fo:external-graphic inline-progression-dimension.maximum="100%" 
                       content-height="scale-down-to-fit" 
                       content-width="scale-down-to-fit" 
                       src="..."/&gt;
  </code></pre>
  
  <p>Unfortunately, that still doesn't display the whole image. The lower part of the image is cut off. Can anyone give me a hint on what I am potentially doing wrong?</p>