This is a discussion on Drawing anti-aliased lines using the GD library within the PHP Language forums, part of the PHP Programming Forums category; I was following an article on a website earlier, and although it outputted the pie chart for me perfectly, I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I was following an article on a website earlier, and although it
outputted the pie chart for me perfectly, I want to make it anti- aliased somehow. I have linked to the specific article below just in case you wish to replicate for testing the anti-aliasing. I found the GD function, imageantialias() but I've tried setting it to true at the top of the code just after the imagecreate() function - but to no avail. Article: http://www.talkphp.com/showthread.php?t=1629 Somebody please help me!! I'd really love to get the anti-aliasing to work as it'd then be perfect for what I need it for. With it looking rough at the moment it looks naturally unpolished which is no good for my client :( Thank youu in advance! |
|
|||
|
Greetings, adam.timberlake@gmail.com.
In reply to Your message dated Monday, December 10, 2007, 12:28:03, > I was following an article on a website earlier, and although it > outputted the pie chart for me perfectly, I want to make it anti- > aliased somehow. I have linked to the specific article below just in > case you wish to replicate for testing the anti-aliasing. I found the > GD function, imageantialias() but I've tried setting it to true at the > top of the code just after the imagecreate() function - but to no > avail. > Article: http://www.talkphp.com/showthread.php?t=1629 > Somebody please help me!! I'd really love to get the anti-aliasing to > work as it'd then be perfect for what I need it for. With it looking > rough at the moment it looks naturally unpolished which is no good for > my client :( > Thank youu in advance! Please provide a code snip and result example to illustrate Your problem. We can't help You without it. -- Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru> |
|
|||
|
adam.timberlake@gmail.com wrote:
> I was following an article on a website earlier, and although it > outputted the pie chart for me perfectly, I want to make it anti- > aliased somehow. I have linked to the specific article below just in > case you wish to replicate for testing the anti-aliasing. I found the > GD function, imageantialias() but I've tried setting it to true at the > top of the code just after the imagecreate() function - but to no > avail. > > Article: http://www.talkphp.com/showthread.php?t=1629 > > Somebody please help me!! I'd really love to get the anti-aliasing to > work as it'd then be perfect for what I need it for. With it looking > rough at the moment it looks naturally unpolished which is no good for > my client :( > > Thank youu in advance! > Adam, I'm not sure what you're looking at. The article you referenced is about bar charts. What errors (or what bad result) do you get? And just out of curiosity, why do you need it anti-aliased? -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |