search for in the  
<imagealphablendingimagearc>
Last updated: Thu, 19 May 2005

imageantialias

(PHP 4 >= 4.3.2, PHP 5)

imageantialias --  Should antialias functions be used or not

Description

bool imageantialias ( resource im, bool on )

Warning

This function is currently not documented; only the argument list is available.

Note: This function is only available if PHP is compiled with the bundled version of the GD library.

See also imagecreatetruecolor().



User Contributed Notes
imageantialias
klaas at kosmokrator dot com
24-May-2004 09:21
I have optimized the "imageSmoothLine" function by logang.

sample and download at:

http://www.kosmokrator.com/download/php/
JpGraph
25-Apr-2004 04:50
imageantialias-function has a number of limitations which is not documented.

1) Line thickness can only be 1 (since there are no real polygon fill anti-alias)
If you try to use thick lines they will be converted to lines with weight=1 when antialias is enabled.

2) You can't use styled lines. They will dissapear.

As a side note there also seems to be some instability associated with the use of antialias since PHP has reproducible crashes when this is used.
logang at deltatee dot com
05-Aug-2003 05:28
I've writen some antialiasing functions for people who don't have the requirements for the builtin antialiasing.

You can download a copy at: http://grey.deltatee.com/image.phps
Igor Garcia
30-Jun-2003 04:57
This function its only available if you have the BUNDLED version of GD.
(PHP 4.3.2)

<imagealphablendingimagearc>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT