1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-12 17:03:59 +02:00
This commit is contained in:
Oliver Vogel
2013-01-27 20:01:18 +01:00
parent a6143438ab
commit 5fd418b1cf

View File

@@ -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()