mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
13 lines
333 B
Plaintext
13 lines
333 B
Plaintext
PATCHED library in inc/drivers/gd.class.php
|
|
|
|
replace function setAntialiasing($bool) bu this one :
|
|
|
|
function setAntiAliasing($bool) {
|
|
if(function_exists('imageantialias')) {
|
|
imageantialias($this->resource, (bool)$bool);
|
|
|
|
$this->antiAliasing = (bool)$bool;
|
|
} else {
|
|
awImage::drawErrorFile('missing-anti-aliasing');
|
|
}
|
|
} |