You are here

function imagick_trim_form in Imagick 7

Settings form for the imagick fuzz effect.

Parameters

$action: The saved action form parameters.

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

File

effects/imagick.trim.inc, line 48

Code

function imagick_trim_form($data) {
  $data = array_merge(imagick_trim_defaults(), (array) $data);
  $form['fuzz'] = array(
    '#type' => 'textfield',
    '#title' => t('Fuzz'),
    '#description' => t('The fuzz tolerance.'),
    '#default_value' => $data['fuzz'],
    '#size' => 3,
  );
  return $form;
}