title: Dynamic Image size in Jasper Report
body: <p>I am trying to print a Jasper Report with a image. Image is displayed dynamically using a parameter. Image is printing fine. But I need to output the image size dynamically too. How can I pass the the image size (in inch) as a parameter and get my expected output?</p>
  
  <pre><code>&lt;image&gt;
  &lt;reportElement uuid="a4ed8a3a-827e-494c-ba8d-7276007941c7" x="0" y="0" width="555" height="608"/&gt;
  &lt;imageExpression&gt;&lt;![CDATA[$P{IMAGE_LOCATION}]]&gt;&lt;/imageExpression&gt;
  &lt;/image&gt;
  </code></pre>