You are here

function imagick_resize_form in Imagick 7

Form structure for the image resize form.

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

Parameters

$data: The current configuration for this resize effect.

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

File

effects/imagick.resize.inc, line 72

Code

function imagick_resize_form($data) {
  $data = array_merge(imagick_resize_defaults(), (array) $data);
  $form = image_resize_form($data);
  return $form;
}