Objectmix
Tags Register Mark Forums Read

Drawing anti-aliased lines using the GD library : PHP

This is a discussion on Drawing anti-aliased lines using the GD library within the PHP forums in Programming Languages category; 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 ...


Object Mix > Programming Languages > PHP > Drawing anti-aliased lines using the GD library

Reply

 

LinkBack Thread Tools
  #1  
Old 12-10-2007, 04:28 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
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!
  #2  
Old 12-10-2007, 06:38 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
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>

  #3  
Old 12-10-2007, 06:49 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
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

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
Drawing lines in colorForth usenet Forth 8 03-17-2007 03:18 PM
How to drawing some connected 2D lines? usenet vrml 4 04-27-2006 08:51 AM
Anti-aliased text in OpenGL usenet Java-Games 1 01-06-2006 10:47 AM
Re: drawing curved lines usenet Adobe Photoshop 0 05-28-2005 02:12 PM
Beginner: Anti-aliased fonts in java usenet Java 8 11-29-2004 12:27 PM


All times are GMT -5. The time now is 01:09 AM.

Managed by Infnx Pvt Ltd.