public function create_thumbnail($width = 200, $height = 200, $bestfit = false, $fill = false)
    {

        if (empty($this->imagemagik) || empty($this->filename)) return false;
        try {
            $this->imagemagik->thumbnailimage($width, $height, $bestfit, $fill);
        } catch (\ImagickException $e) {
            throw $e;
        }

        return true;
    }
public function create_thumbnail($width = 200, $height = 200, $bestfit = false, $fill = false)
    {

        if (empty($this->imagemagik) || empty($this->filename)) return false;
        try {
            $this->imagemagik->thumbnailimage($width, $height, $bestfit, $fill);
        } catch (\ImagickException $e) {
            throw $e;
        }

        return true;
    }
public function create_thumbnail ( $ width = 200 , $ height = 200 , $ bestfit = false , $ fill = false ) { if ( empty ( $ this -> imagemagik ) || empty ( $ this -> filename ) ) return false ; try { $ this -> imagemagik -> thumbnailimage ( $ width , $ height , $ bestfit , $ fill ) ; } catch ( \ ImagickException $ e ) { throw $ e ; } return true ; }
Wrapper for Imagick thumbnail

@param int $width
@param int $height
@param boolean $bestfit
@param boolean $fill

@throws \Exception
@throws \ImagickException
@return boolean
Wrapper for Imagick thumbnail