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:19] 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 
 +<file php gd_image.inc.diff>
 --- gd_image.inc.orig   2019-12-29 12:08:59.320754190 +0100 --- gd_image.inc.orig   2019-12-29 12:08:59.320754190 +0100
-+++ gd_image.inc.php    2019-12-29 12:18:26.086739129 +0100++++ gd_image.inc.php    2019-12-29 12:21:49.570063291 +0100
 @@ -106,10 +106,12 @@ @@ -106,10 +106,12 @@
          $this->use_anti_aliasing = $aFlg;          $this->use_anti_aliasing = $aFlg;
Line 14: Line 15:
 +/* Do not throw exception if function "imageantialias" does not exist +/* Do not throw exception if function "imageantialias" does not exist
          else {          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 standaone version.')+             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.')
         }         }
 +*/ +*/
Line 21: Line 22:
      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.1577618377.txt.gz · Last modified: 2019/12/29 12:19 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki