phpamble
asked on
Write An Image Created By A Charting Class To A Bitmap File
Hi
I have a barchart created by the chartdirector program available as a stream of bits that I then print using the print php statement, viz.:
print($c->makeChart2(PNG)) ;
With the makechartChart2 being the operation of the barcharting class.
I do not have the GD graphics library loaded but need to find some way to save the stream of bits as a file so that I can later make it available to a class (part of the fpdf library) that can insert the image as a picture in a pdf document.
Does anybody have a solution.?
Help would be appreciated.
Thanks
phpamble
I have a barchart created by the chartdirector program available as a stream of bits that I then print using the print php statement, viz.:
print($c->makeChart2(PNG))
With the makechartChart2 being the operation of the barcharting class.
I do not have the GD graphics library loaded but need to find some way to save the stream of bits as a file so that I can later make it available to a class (part of the fpdf library) that can insert the image as a picture in a pdf document.
Does anybody have a solution.?
Help would be appreciated.
Thanks
phpamble
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much for your excellent assistance. I also increased the point value for this question.