By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Drawing anti-aliased lines using the GD library

P: n/a
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!
Dec 10 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Greetings, ad*************@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 <an*******@freemail.ru>

Dec 10 '07 #2

P: n/a
ad*************@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.
js*******@attglobal.net
==================

Dec 10 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.