function iek_image_watermark in Image effect kit 7
Invoke the image toolkit so user can choose to use GD or ImageMagick.
1 call to iek_image_watermark()
- iek_image_watermark_effect in ./
iek.module - Effect callback for iek_image_watermark.
1 string reference to 'iek_image_watermark'
- iek_image_default_styles in ./
iek.module - Implements hook_image_default_styles().
File
- ./
iek.module, line 881 - Primarily Drupal hooks and global API functions to manipulate image styles.
Code
function iek_image_watermark(stdClass $image, $data) {
$data['text'] = (string) $data['text'];
$data['size'] = (int) round($data['size']);
return iek_toolkit_invoke('watermark', $image, array(
$data,
));
}