/** * Used internally to create Operation objects * * @param string $name * @return object */ protected function getOperation($name) { return WideImage_OperationFactory::get($name); }
/** * @see WideImage_Image#getChannels() */ function getChannels() { $args = func_get_args(); if (count($args) == 1 && is_array($args[0])) { $args = $args[0]; } return WideImage_OperationFactory::get('CopyChannelsTrueColor')->execute($this, $args); }