mirror of
https://github.com/Intervention/image.git
synced 2025-08-12 17:03:59 +02:00
bugfixes
This commit is contained in:
@@ -195,16 +195,19 @@ class Image
|
|||||||
public function pixelate($size = 10, $advanced = true)
|
public function pixelate($size = 10, $advanced = true)
|
||||||
{
|
{
|
||||||
imagefilter($this->resource, IMG_FILTER_PIXELATE, $size, $advanced);
|
imagefilter($this->resource, IMG_FILTER_PIXELATE, $size, $advanced);
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function grayscale()
|
public function grayscale()
|
||||||
{
|
{
|
||||||
imagefilter($this->resource, IMG_FILTER_GRAYSCALE);
|
imagefilter($this->resource, IMG_FILTER_GRAYSCALE);
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function greyscale()
|
public function greyscale()
|
||||||
{
|
{
|
||||||
$this->grayscale();
|
$this->grayscale();
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function reset()
|
public function reset()
|
||||||
|
Reference in New Issue
Block a user