How to Fix JpGraph Error 25128: The function imageantialias() is not available in your PHP installation.

This error message shown up when I tried to draw chart using JpGraph:

To fix the problem, edit file gd_image.inc.php inside JpGraph folder, and disable the line start with JpGraphError::RaiseL(25128); in function SetAntiAliasing:


function SetAntiAliasing($aFlg=true) {
$this->use_anti_aliasing = $aFlg;
if( function_exists('imageantialias') ) {
imageantialias($this->img,$aFlg);
}
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.')
}
}

Keywords:

  • jpgraph error 25128
  • jpgraph error: 25128 the function imageantialias() is not available in your php installation use the gd version that comes with php and not the standalone version
  • debian: The function imageantialias() is not available in your PHP installation Use the GD version that comes with PHP and not the standalone version
Comments
  1. Alex Reply
  2. camilo3rd Reply
  3. Jose Reply
  4. Legionar Reply
  5. Wara Reply
  6. anikng Reply
  7. anikng Reply
  8. anikng Reply
  9. anikng Reply
  10. gayatri Reply
  11. saurav Reply
  12. Salma Reply
  13. Juani Reply
  14. Amol Reply
  15. Jonatas Reply
  16. Adrian Reply
  17. nelsonmirandag Reply
  18. Rafael Reply

Leave a Reply

Your email address will not be published. Required fields are marked *