You are here

function imagecache_coloractions_imagecache_actions in ImageCache Actions 6

Same name and namespace in other branches
  1. 5.3 imagecache_coloractions.module \imagecache_coloractions_imagecache_actions()
  2. 5.2 imagecache_coloractions.module \imagecache_coloractions_imagecache_actions()
  3. 6.2 coloractions/imagecache_coloractions.module \imagecache_coloractions_imagecache_actions()

Implementation of hook_imagecache_actions().

Declare available actions, return help text about this filter.

File

./imagecache_coloractions.module, line 27
Additional actions for imagecache processing.

Code

function imagecache_coloractions_imagecache_actions() {
  $actions = array(
    'imagecache_colorshift' => array(
      'name' => 'Color Shift',
      'description' => 'Adjust image colors.',
    ),
    'imagecache_brightness' => array(
      'name' => 'Brightness',
      'description' => 'Adjust image brightness.',
    ),
    'imagecache_inverse' => array(
      'name' => t('Negative Image'),
      'description' => t('Invert colors and brightness.'),
    ),
    'imagecache_convert' => array(
      'name' => t('Change File format'),
      'description' => t('Choose to save the image as a different filetype.'),
    ),
    'imagecache_alpha' => array(
      'name' => t('Alpha Transparency'),
      'description' => t('Adjust transparency.'),
      'file' => 'transparency.inc',
    ),
  );
  return $actions;
}