I'm using JPGraph and it's all going great but the images I'm wanting to make are 700x500 pixels and the default size is about 800KB (Bitmap)....!!!!
So I checking in the documentation and I see you can change the format to JPEG and therefore apply a quality (in precentage %).
I've done:
Code: Select all
$graph->img->SetImgFormat('jpeg');
$graph->img->SetQuality(75);Any clues? (Those are the only two lines I've added to alter the qulaity).
Thanks