public invert ( ) : |
||
return |
public function invert()
{
// Create an image resource.
$this->createResource();
imagefilter($this->resource, IMG_FILTER_NEGATE);
$this->output = $this->resource;
return $this;
}