title: PHP Excel image change size
body: <p>Developing PHP code that will create Excel file using PHP Excel.</p>
  
  <p>I need to place an image into XLS file. Problem I have is that dimension of the image are not the one I defined in my code:</p>
  
  <pre><code>$objDrawing = new PHPExcel_Worksheet_Drawing();
  $objDrawing-&gt;setName('Water_Level');
  $objDrawing-&gt;setDescription('Water_Level');
  $objDrawing-&gt;setPath('img/logo-rab.jpg');
  $objDrawing-&gt;setHeight(74);
  $objDrawing-&gt;setCoordinates('A1');
  $objDrawing-&gt;setWorksheet($objPHPExcel-&gt;getActiveSheet());
  </code></pre>
  
  <p>This image is much higher than 74 pixels. Tried to add height and width also, but always the same.</p>
  
  <p>Can you help me how to add image in my XLS, with dimensions I defined in PHP code?</p>
  
  <p>Thank you in advance!</p>