User Tools

Site Tools


jpgraph-antialiasing-error

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
jpgraph-antialiasing-error [2019/12/29 12:15] baumijpgraph-antialiasing-error [2019/12/29 12:26] (current) baumi
Line 3: Line 3:
 {{::jpgraph_25128.png|}} {{::jpgraph_25128.png|}}
  
-<file text gd_image.inc.diff> +1. Download this file to the "src/" directory 
-*** gd_image.inc.orig   2019-12-29 12:08:59.320754190 +0100 +<file php gd_image.inc.diff> 
---- gd_image.inc.php    2019-12-29 12:10:30.012411818 +0100 +--- gd_image.inc.orig   2019-12-29 12:08:59.320754190 +0100 
-*************** ++++ gd_image.inc.php    2019-12-29 12:21:49.570063291 +0100 
-*** 107,115 **** +@@ -106,10 +106,12 @@ 
---- 107,117 ---- +         $this->use_anti_aliasing = $aFlg; 
-          if( function_exists('imageantialias') ) { +         if( function_exists('imageantialias') ) { 
-              imageantialias($this->img,$aFlg); +             imageantialias($this->img,$aFlg); 
-          +-        } 
-+ /* Do not throw exception if imageantialias function does not exist ++       
-          else { ++/* Do not throw exception if function "imageantialias" does not exist 
-              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.')+         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() {+     function GetAntiAliasing() {
 </file> </file>
 +
 +2. Patch with 
 +<code bash>
 +$ patch < gd_image.inc.diff
 +patching file gd_image.inc.php
 +$
 +</code>
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