title: Removing images or layers from PDF
body: <p>is it possible to remove an Image from PDF-File previous added by tcpdf:</p>
  
  <pre><code>$pdf-&gt;Image();
  </code></pre>
  
  <p>Or remove a layer which was added by:</p>
  
  <pre><code>$pdf-&gt;startLayer('layer1', true, true);
  $pdf-&gt;SetFontSize(18);
  $pdf-&gt;SetTextColor(0,127,0);
  $txt = 'Using the startLayer() method you can group PDF objects into layers. This text is on "layer1".';
  $pdf-&gt;Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
  $pdf-&gt;endLayer();
  </code></pre>