public function smooth($level)
    {
        //Argument 1 must be a number
        Argument::i()->test(1, 'numeric');

        //apply filter
        imagefilter($this->resource, IMG_FILTER_SMOOTH, $level);

        return $this;
    }