User Tools

Site Tools


jpgraph-antialiasing-error

This is an old revision of the document!


Fix JpGraph Error 25128 on Debian Systems

gd_image.inc.diff
*** gd_image.inc.orig   2019-12-29 12:08:59.320754190 +0100
--- gd_image.inc.php    2019-12-29 12:10:30.012411818 +0100
***************
*** 107,115 ****
--- 107,117 ----
          if( function_exists('imageantialias') ) {
              imageantialias($this->img,$aFlg);
          }
+ /* Do not throw exception if imageantialias function does not exist
          else {
              JpGraphError::RaiseL(25128);//('The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.')
        }
+  */
      }
 
      function GetAntiAliasing() {
jpgraph-antialiasing-error.1577618151.txt.gz · Last modified: 2019/12/29 12:15 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki