1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 12:18:14 +01: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)
{
imagefilter($this->resource, IMG_FILTER_PIXELATE, $size, $advanced);
return $this;
}
public function grayscale()
{
imagefilter($this->resource, IMG_FILTER_GRAYSCALE);
return $this;
}
public function greyscale()
{
$this->grayscale();
return $this;
}
public function reset()