Page 1 of 1
Antialiasing
Posted: Fri Jun 03, 2005 8:18 pm
by Todd_Z
http://www.acdrifter.com/Visitors/?page=Browsers
The Pie Graph looks really ugly, is there anyway to make it look like straight lines, etc.
Posted: Fri Jun 03, 2005 8:50 pm
by hawleyjr
What are you using to create the graph? Jgraph?
Posted: Fri Jun 03, 2005 8:55 pm
by Todd_Z
custom script using gd library
Posted: Sat Jun 04, 2005 3:35 am
by wwwapu
Maybe this is something yuo need.Undocumented but anyways
http://fi2.php.net/manual/en/function.i ... ialias.php
Posted: Sat Jun 04, 2005 3:56 am
by onion2k
What I do to antialias is make the image twice as big as it needs to be, then create a true color image the right size, and use imagecopyresampled to copy the big version into the correct size version.
See this method in action at:
http://www.ooer.com/spirograph/
Posted: Sat Jun 04, 2005 10:58 am
by Todd_Z
Onion2k - That was an amazing method. It worked perfectly.