You are here

function coloractions_brightness_effect in ImageCache Actions 8

Same name and namespace in other branches
  1. 7 coloractions/imagecache_coloractions.module \coloractions_brightness_effect()

Image effect callback for the brightness effect.

Parameters

stdClass $image:

array $data:

Return value

bool true on success, false otherwise.

1 string reference to 'coloractions_brightness_effect'
imagecache_coloractions_image_effect_info in coloractions/imagecache_coloractions.module
Implements hook_image_effect_info().

File

coloractions/imagecache_coloractions.module, line 463

Code

function coloractions_brightness_effect(stdClass $image, array $data) {
  return image_toolkit_invoke('brightness', $image, array(
    $data,
  ));
}