check
This commit is contained in:
parent
f932e84e4a
commit
088e250389
@ -11,7 +11,6 @@ $pathToImage = "/home/u525748/php84test.ff14wiki.ru/www/styles/bebs.png";
|
|||||||
$outputPath = "/home/u525748/php84test.ff14wiki.ru/www/styles/bebs.changed.png";
|
$outputPath = "/home/u525748/php84test.ff14wiki.ru/www/styles/bebs.changed.png";
|
||||||
|
|
||||||
function imageTricks($pathToImage,$output) {
|
function imageTricks($pathToImage,$output) {
|
||||||
echo "tset";
|
|
||||||
$image = new Imagick($pathToImage);
|
$image = new Imagick($pathToImage);
|
||||||
|
|
||||||
$image->blurImage(3, 2);
|
$image->blurImage(3, 2);
|
||||||
@ -27,8 +26,6 @@ function imageTricks($pathToImage,$output) {
|
|||||||
|
|
||||||
$image->setImageFormat('png');
|
$image->setImageFormat('png');
|
||||||
$image->writeImage($output);
|
$image->writeImage($output);
|
||||||
|
|
||||||
$image->destroy();
|
|
||||||
}
|
}
|
||||||
imageTricks($pathToImage,$outputPath);
|
imageTricks($pathToImage,$outputPath);
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user