You are here

function image_im_advanced_options in Image 5

Same name and namespace in other branches
  1. 5.2 contrib/image_im_advanced/image_im_advanced.module \image_im_advanced_options()
  2. 6 contrib/image_im_advanced/image_im_advanced.module \image_im_advanced_options()
  3. 7 contrib/image_im_advanced/image_im_advanced.module \image_im_advanced_options()

Retrieve the settings array.

2 calls to image_im_advanced_options()
image_im_advanced_form_alter in contrib/image_im_advanced/image_im_advanced.module
Implementation of hook_form_alter().
image_im_advanced_imagemagick_alter in contrib/image_im_advanced/image_im_advanced.module
Implementation of hook_imagemagick_alter().

File

contrib/image_im_advanced/image_im_advanced.module, line 6

Code

function image_im_advanced_options() {
  $defaults = array(
    'jpeg_quality' => 75,
    'strip' => '150x150',
    'colorspace' => 'rgb',
    'density' => 1,
    'unsharp' => array(
      'radius' => 0.9,
      'amount' => 0,
    ),
    'profile' => array(
      'path' => '',
    ),
  );
  return variable_get('image_im_advanced_options', $defaults);
}