fix: Update jpgraph source file to remove check for imageantialias() #5282 (#5284)

This commit is contained in:
Neil Lathwood
2017-01-02 18:28:55 +00:00
committed by Søren Rosiak
parent 00783c0975
commit 442b3ee3ab

View File

@@ -99,9 +99,9 @@ class Image
$this->use_anti_aliasing = $aFlg; $this->use_anti_aliasing = $aFlg;
if (function_exists('imageantialias')) { if (function_exists('imageantialias')) {
imageantialias($this->img, $aFlg); imageantialias($this->img, $aFlg);
} else { }/* else {
Util\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.') Util\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.')
} }*/
} }
public function GetAntiAliasing() public function GetAntiAliasing()