Drawing anti-aliased lines using the GD library - PHP

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

+ Reply to Thread
Results 1 to 3 of 3

Drawing anti-aliased lines using the GD library

  1. 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. 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. 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 to Thread

Similar Threads

  1. How to drawing some connected 2D lines?
    By Application Development in forum vrml
    Replies: 4
    Last Post: 04-27-2006, 08:51 AM
  2. Anti-aliased text in OpenGL
    By Application Development in forum Java-Games
    Replies: 1
    Last Post: 01-06-2006, 10:47 AM
  3. Re: drawing curved lines
    By Application Development in forum Adobe Photoshop
    Replies: 0
    Last Post: 05-28-2005, 02:12 PM
  4. Beginner: Anti-aliased fonts in java
    By Application Development in forum Java
    Replies: 8
    Last Post: 11-29-2004, 12:27 PM