public function fitToHeight($height)
    {
        $width = $height / ($this->height / $this->width);
        return $this->resize($width, $height);
    }
public function fitToHeight($height)
    {
        $width = $height / ($this->height / $this->width);
        return $this->resize($width, $height);
    }
public function fitToHeight ( $ height ) { $ width = $ height / ( $ this -> height / $ this -> width ) ; return $ this -> resize ( $ width , $ height ) ; }
Proportionally resize to the specified height
@param int $height
@return $this
Proportionally resize to the specified height