Unlimited Usenet
day retention, 99% Completion, Unlimited Access, Free Trial!

Drawing anti-aliased lines using the GD library

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-10-2007
adam.timberlake@gmail.com
 
Posts: n/a
Default Drawing anti-aliased lines using the GD library

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!
Reply With Quote
  #2 (permalink)  
Old 12-10-2007
AnrDaemon
 
Posts: n/a
Default Re: Drawing anti-aliased lines using the GD library

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>

Reply With Quote
  #3 (permalink)  
Old 12-10-2007
Jerry Stuckle
 
Posts: n/a
Default Re: Drawing anti-aliased lines using the GD library

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
==================

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0