Dec 1, 2009 at 8:04 AM
Edited Dec 1, 2009 at 8:09 AM

How to put a jpgraph image into phppowerpoint.

I can retreive the image handler, but using the PHPPowerPoint_Shape_MemoryDrawing class results in an pptx that is not correct.
After renaming the pptx to zip, i see that the image is made, but has a size of 277, which is not more than the handler resource id.

$handleGrafiek = $graph->Stroke(_IMG_HANDLER);

$shape = new PHPPowerPoint_Shape_MemoryDrawing();

Please can anybody help me with this issue?