htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/PaletteImage.php 1 location
|
@@ 131-140 (lines=10) @@
|
| 128 |
|
* (non-PHPdoc) |
| 129 |
|
* @see \WideImage\Image#getChannels() |
| 130 |
|
*/ |
| 131 |
|
public function getChannels() |
| 132 |
|
{ |
| 133 |
|
$args = func_get_args(); |
| 134 |
|
|
| 135 |
|
if (count($args) == 1 && is_array($args[0])) { |
| 136 |
|
$args = $args[0]; |
| 137 |
|
} |
| 138 |
|
|
| 139 |
|
return OperationFactory::get('CopyChannelsPalette')->execute($this, $args); |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
/** |
| 143 |
|
* (non-PHPdoc) |
htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/TrueColorImage.php 1 location
|
@@ 204-213 (lines=10) @@
|
| 201 |
|
/** |
| 202 |
|
* @see \WideImage\Image#getChannels() |
| 203 |
|
*/ |
| 204 |
|
public function getChannels() |
| 205 |
|
{ |
| 206 |
|
$args = func_get_args(); |
| 207 |
|
|
| 208 |
|
if (count($args) == 1 && is_array($args[0])) { |
| 209 |
|
$args = $args[0]; |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
return OperationFactory::get('CopyChannelsTrueColor')->execute($this, $args); |
| 213 |
|
} |
| 214 |
|
|
| 215 |
|
/** |
| 216 |
|
* (non-PHPdoc) |