You are here

function imagick_crop_defaults in Imagick 7

Returns the default settings of this effect.

1 call to imagick_crop_defaults()
imagick_crop_form in effects/imagick.crop.inc
Form structure for the image crop form.
1 string reference to 'imagick_crop_defaults'
imagick_image_effect_info in ./imagick.module
Implements hook_image_effect_info()

File

effects/imagick.crop.inc, line 85

Code

function imagick_crop_defaults() {
  return array(
    'width' => 100,
    'height' => 100,
    'anchor' => 'center-center',
  );
}