title: TCPDF image resize
body: <p>I want to crate pdf with the leatest TCPDF.<br/>
  I have an LC6 landscape document (152mm × 109mm). I put an image to the page, and set the image parameters like this:</p>
  
  <pre><code>$pdf-&gt;Image($image, 0, 0, 152, 0, 'PNG', '', '', true, 300);
  </code></pre>
  
  <p>The pdf file is empty. But, when I change 152 to 151, the image is appear in the pdf file, but smaller then the document.<br/>
  Why disappear the image when it has enough space?<br/>
  My picture is 1795×1287px but its doesn't matter because I want to resize it.<br/><br/>
  <strong>Update:</strong><br/>
  This problem doesn't occur with every picture, in other picture is appear correctly in pdf. The two images has same dpi and same resolution. Could be the source of problem the transparency?</p>