/** * Resize an image to fit the target width and height * * @since 1.0 * @access public * @param int The target width. * @param int The target height. * @return SocialImage Returns itself for chaining. */ public function fit($width = null, $height = null) { $this->adapter->fit($this->image, $width, $height); return $this; }