title: PhpExcel - Add images from a php generator?
body: <p>I am wondering if it is possible to add image from a php generator with link like this? <code>parse/BarGen/generator.php?text=760000322300000939115260</code></p>
  
  <pre><code>$gdImage = imagecreatefromjpeg('uploads/simple.jpg');
  // Add a drawing to the worksheetecho date('H:i:s') . " Add a drawing to the worksheet\n";
  $objDrawing = new PHPExcel_Worksheet_MemoryDrawing();
  $objDrawing-&gt;setName('Sample image');
  $objDrawing-&gt;setDescription('Sample image');
  $objDrawing-&gt;setImageResource($gdImage);
  $objDrawing-&gt;setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG);
  $objDrawing-&gt;setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT);
  $objDrawing-&gt;setHeight(150);
  $objDrawing-&gt;setCoordinates('C1');
  $objDrawing-&gt;setWorksheet($objPHPExcel-&gt;getActiveSheet());
  </code></pre>
  
  <p>Source : <a href="https://phpexcel.codeplex.com/" rel="nofollow">https://phpexcel.codeplex.com/</a></p>