You are here

function imagick_emboss_form in Imagick 7

Settings form for the imagick emboss effect.

Parameters

$action: The saved action form parameters.

1 string reference to 'imagick_emboss_form'
imagick_image_effect_info in ./imagick.module
Implements hook_image_effect_info()

File

effects/imagick.emboss.inc, line 37

Code

function imagick_emboss_form($data) {
  $data = array_merge(imagick_emboss_defaults(), (array) $data);
  $form['radius'] = array(
    '#type' => 'textfield',
    '#title' => t('Radius'),
    '#description' => t('The radius of the emboss effect.'),
    '#default_value' => $data['radius'],
    '#size' => 3,
  );
  $form['sigma'] = array(
    '#type' => 'textfield',
    '#title' => t('Sigma'),
    '#description' => t('The sigma of the emboss effect.'),
    '#default_value' => $data['sigma'],
    '#size' => 3,
  );
  return $form;
}