You are here

function imagick_scale_form in Imagick 7

Form structure for the image scale form.

Note that this is not a complete form, it only contains the portion of the form for configuring the scale options. Therefore it does not not need to include metadata about the effect, nor a submit button.

Parameters

$data: The current configuration for this scale effect.

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

File

effects/imagick.scale.inc, line 13

Code

function imagick_scale_form($data) {
  $data = array_merge(imagick_scale_defaults(), (array) $data);
  $form = image_scale_form($data);
  return $form;
}