You are here

public static function ImagickConst::channels in Imagick 8

Return value

array

1 call to ImagickConst::channels()
CompositeImageEffect::buildConfigurationForm in src/Plugin/ImageEffect/CompositeImageEffect.php
Form constructor.

File

src/ImagickConst.php, line 86

Class

ImagickConst

Namespace

Drupal\imagick

Code

public static function channels() {
  return [
    Imagick::CHANNEL_DEFAULT => 'Default',
    Imagick::CHANNEL_UNDEFINED => 'Undefined',
    Imagick::CHANNEL_ALPHA => 'Alpha',
    Imagick::CHANNEL_RED => 'Red | Gray | Cyan',
    Imagick::CHANNEL_GREEN => 'Green | Magenta',
    Imagick::CHANNEL_BLUE => 'Blue | Yellow',
    Imagick::CHANNEL_BLACK => 'Black',
    Imagick::CHANNEL_INDEX => 'Index',
    Imagick::CHANNEL_ALL => 'All',
  ];
}