/** * Vertical mirroring * * @return bool|PEAR_Error TRUE or a PEAR_Error object on error * @access public */ function flip() { if (!imagick_flip($this->imageHandle)) { return $this->raiseError('Couldn\'t flip the image.', IMAGE_TRANSFORM_ERROR_FAILED); } return true; }
/** * Vertically mirror (flip) the image * * @param Asido_TMP &$tmp * @return boolean * @access protected */ function __flip(&$tmp) { return imagick_flip($tmp->target); }