Re: [PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED

2003-09-16 Thread Marek Kilimajer
Did you also noticed the partial image files are always in multiple of 4096 in size? There must be some inner php caching that just does not work right. This bug should be fixed. Jay Blanchard wrote: [snip] If your are using $graph->Stroke('sometempfile'); before $pdf->Image('sometempfile'); (

RE: [PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED

2003-09-16 Thread Jay Blanchard
[snip] If your are using $graph->Stroke('sometempfile'); before $pdf->Image('sometempfile'); (I bet you do), then the image should be completed. Is it happening always or just now and then? What if you wait a few seconds between the two calls? Do you call clearstatcache()? I'm asking this beca

Re: [PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED

2003-09-16 Thread Marek Kilimajer
If your are using $graph->Stroke('sometempfile'); before $pdf->Image('sometempfile'); (I bet you do), then the image should be completed. Is it happening always or just now and then? What if you wait a few seconds between the two calls? Do you call clearstatcache()? I'm asking this because I o

RE: [PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED

2003-09-16 Thread Jay Blanchard
[snip] fflush did not work? [/snip] No, because the graph image was not complete before the PDF was complete. Flushing the JPG would display (if no errors occured) an partial JPG within the PDF. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED

2003-09-16 Thread Marek Kilimajer
fflush did not work? Jay Blanchard wrote: [snip] 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 a

RE: [PHP] Using a jpGraph image in an FPDF pdf output...-SOLVED

2003-09-16 Thread Jay Blanchard
[snip] 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

[PHP] Using a jpGraph image in an FPDF pdf output...

2003-09-11 Thread Jay Blanchard
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 cann