Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #8776 Fatal error: Call to undefined function: imageantialias()
Submitted: 2006-09-24 17:25 UTC
From: darksweeper_online at yahoo dot com Assigned: nosey
Status: Closed Package: Image_Canvas (version 0.3.0)
PHP Version: 4.4.1 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2006-09-24 17:25 UTC] darksweeper_online at yahoo dot com (Luis)
Description: ------------ i was simply trying out this wonderful package and found the error. the code is the example for the spider/radar chart located here http://pear.veggerby.dk/samples/code/id/plot_radar/ ... if you comment out the following line for antialiasing it removes the error. 'antialias' => 'native' and the error message is Fatal error: Call to undefined function: imageantialias() in /homepages/33/d92408425/htdocs/PEAR/Image/Canvas/GD.php on line 182

Comments

 [2006-09-24 17:27 UTC] darksweeper_online at yahoo dot com
i was simply trying out this wonderful package and found the error. the code is the example for the spider/radar chart located here http://pear.veggerby.dk/samples/code/id/plot_radar/ ... if you comment out the following line for antialiasing it removes the error. 'antialias' => 'native' and the error message is Fatal error: Call to undefined function: imageantialias() in /homepages/33/d92408425/htdocs/PEAR/Image/Canvas/GD.php on line 182
 [2006-10-24 19:06 UTC] nosey (Jesper Veggerby)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. This is your PHP/GD installation that seems bogus in some way, since ImageAntialias is supported by PHP since 4.3.2. But I have added a function_exists() check
 [2007-10-18 09:20 UTC] emkay (Matt Emkay)
Jesper, Your fix doesnt solve the problem completely, I also had to add the function_exists to line 1694 in GD.php - now it works fine. Thanks for this cool module! emkayIII