/** * Keep the aspect ratio of an image * * @param bool $val */ public function keepAspectRatio($val) { if ($this->isActive()) { $this->_imageObject->keepAspectRatio($val); } return $this; }
/** * Keep the aspect ratio of an image * * @param bool $val */ public function keepAspectRatio($val) { if ($this->isActive()) { $this->_settings['keep_aspect_ratio'] = $val; $this->_imageObject->keepAspectRatio($val); } return $this; }