public function setExtension($extension = '.png')
    {
        if (substr($extension, 0, 1) != '.') {
            $extension = '.' . $extension;
        }

        $this->extension = $extension;

        return $this;
    }