Ask a Question related to PHP Development, Design and Development.
-
Jay Blanchard #1
Using a jpGraph image in an FPDF pdf output...
Has anyone ever suceesfully embedded a jpGraph image in an FPDF output?
FPDF uses this function for an image
$pdfGraph->Image('grfx/image.jpg', 15, 20, 50, 0, 'JPG');
but when image.jpg is created with jpgraph it throws errors. I am sure
that I am missing something quite obvious, but alas I cannot see it.
Thanks!
Jay Blanchard Guest
-
[PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED
Has anyone ever suceesfully embedded a jpGraph image in an FPDF output? FPDF uses this function for an image $pdfGraph->Image('grfx/image.jpg',... -
Multicoloured image into a 3 colour image with numerical output?
Hello people! I need help with two things 1st off - I have an image, a piece of duodenum which i need to convert into areas by colour i.e.... -
[PHP] fpdf
The way I would do it is I would make the Save button (or link) point to display.php?save... Now in the display.php I would have it figure out if... -
[PHP] PHP, Excel, jpgraph - can the graph be included in the Excel output?
You need a class that can create xls files with images. Or you can create a Web Archive: http://officeupdate.microsoft.com/office/webarchive.htm ... -
PHP, Excel, jpgraph - can the graph be included in the Excel output?
Good morning! I have several reports that are generated using PHP & MySQL for which I would like to include a graph using the excellent jpgraph... -
witek #2
Re: Using a jpGraph image in an FPDF pdf output...
Try to put your graph script into one file
...
$graph->Stroke();
And into another tile:
$pdf=new pdf_pelny('P','mm','A4');
$pdf->Prepare();
$pdf->AliasNbPages();
$trigger = $pdf->PageBreakTrigger;
$pdf->AddPage();
$pdf->Image('http://localhost/my_graph_script.php*', <x>,<y>, <width>, <height>);
$pdf->Output('file_.pdf', 'D');
*Absolute path to script (I`m not sure relative path works)
Junior Member
- Join Date
- May 2012
- Posts
- 1



Reply With Quote

