public function resize($width, $height, $bestfit = true, $stretch = true)
    {
        if (!$stretch and (($width >= $this->getWidth()) and ($height >= $this->getHeight()))) {
            return $this;
        }

        $this->resource->resize($width, $height, $bestfit, $stretch);

        return $this;
    }