function imagecache_coloractions_imagecache_actions in ImageCache Actions 6.2
Same name and namespace in other branches
- 5.3 imagecache_coloractions.module \imagecache_coloractions_imagecache_actions()
- 5.2 imagecache_coloractions.module \imagecache_coloractions_imagecache_actions()
- 6 imagecache_coloractions.module \imagecache_coloractions_imagecache_actions()
Implementation of hook_imagecache_actions().
Declare available actions, return help text about this filter.
File
- coloractions/
imagecache_coloractions.module, line 31 - Additional actions for imagecache processing.
Code
function imagecache_coloractions_imagecache_actions() {
$actions = array(
'imagecache_colorshift' => array(
'name' => 'Color Shift',
'description' => 'Adjust image colors.',
),
'imagecache_coloroverlay' => array(
'name' => 'Color Overlay',
'description' => 'Apply a color tint to an image (retaining blacks and whites).',
),
'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;
}