You are here

function imagick_scale_defaults in Imagick 7

Returns the default settings of this effect.

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

File

effects/imagick.scale.inc, line 23

Code

function imagick_scale_defaults() {
  return array(
    'width' => 100,
    'height' => 100,
    'upscale' => 0,
  );
}