$this->_params = new Horde_Support_Array($this->_params);
try {
// Only supported if ImageMagick is compiled against lqr library.
- if (method_exists($this->_image, 'liquidRescaleImage')) {
+ if (method_exists($this->_image->imagick, 'liquidRescaleImage')) {
$this->_image->imagick->liquidRescaleImage(
- $this->_params->width, $this->_params->height, $this->_params->delta_x, $this->_params['rigidity']);
+ $this->_params->width, $this->_params->height, $this->_params->delta_x, $this->_params->rigidity);
} else {
throw new Horde_Image_Exception('Missing support for lqr in ImageMagick.');
}
-
} catch (ImagickException $e) {
throw new Horde_Image_Exception($e);
}