You are here

function imagemagick_advanced_image_effect_info in ImageMagick 7

Implements hook_image_effect_info().

File

imagemagick_advanced/imagemagick_advanced.module, line 158
Provides advanced ImageMagick effects and options.

Code

function imagemagick_advanced_image_effect_info() {
  $effects['imagemagick_strip'] = array(
    'label' => t('Strip metadata'),
    'help' => t('Strips metadata from images.'),
    'effect callback' => 'imagemagick_advanced_strip_effect',
    'dimensions passthrough' => TRUE,
  );
  $effects['imagemagick_auto_orient'] = array(
    'label' => t('Automatically correct orientation'),
    'help' => t('Automatically rotates images according to orientation flag set by many phones and digital cameras.'),
    'effect callback' => 'imagemagick_advanced_auto_orient_effect',
  );
  return $effects;
}