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.php    2019-12-29 12:18:26.086739129 +0100
+++ gd_image.inc.orig   2019-12-29 12:08:59.320754190 +0100
@@ -106,12 +106,10 @@
         $this->use_anti_aliasing = $aFlg;
         if( function_exists('imageantialias') ) {
             imageantialias($this->img,$aFlg);
-       }
-/* Do not throw exception if function "imageantialias" 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.1577618334.txt.gz · Last modified: 2019/12/29 12:18 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki