function imagick_solarize_form in Imagick 7
Settings form for the imagick solarize effect.
Parameters
$action: The saved action form parameters.
1 string reference to 'imagick_solarize_form'
- imagick_image_effect_info in ./
imagick.module - Implements hook_image_effect_info()
File
- effects/
imagick.solarize.inc, line 35
Code
function imagick_solarize_form($data) {
$data = array_merge(imagick_solarize_defaults(), (array) $data);
$form['threshold'] = array(
'#type' => 'textfield',
'#title' => t('Threshold'),
'#description' => t('The number of threshold of the solarize effect.'),
'#default_value' => $data['threshold'],
'#size' => 6,
);
return $form;
}