title: Why is TCPDF Image smaller than it should be?
body: <p>I have a 842 x 595 PDF, 72 dpi and i'm inserting a 1200x800 image, again with 72dpi. </p>
  
  <p>scaleFactor is 1, imageScale is 1</p>
  
  <p>in theory, my pdf should show part of the image (the first 842px). In reality the ratio is wrong,  i have white space to the right and bottom.</p>
  
  <p>I'm upgrading from FPDF and if i switch back to that it shows the picture ok.</p>
  
  <pre><code>$pdf = new TCPDF($this-&gt;orientation, 'pt', $this-&gt;format, true, 'UTF-8', false);
  $pdf-&gt;setMargins(0, 0, -1, 1);
  $pdf-&gt;setJPEGQuality(90);
  $pdf-&gt;setImageScale(1);
  
  $pdf-&gt;Image($image-&gt;path,0,0,0,0,'','','T',false, 72,'',false,false,0,'LT');
  </code></pre>
  
  <p>The sizes and scales all look fine if i dump the $pdf object...</p>
  
  <p>Am i missing something?</p>