You are here

function textimage_image_effect_info in Textimage 7.3

Implements hook_image_effect_info().

File

./textimage.module, line 344
Textimage - Provides text to image manipulations.

Code

function textimage_image_effect_info() {
  $effects = array();
  $effects['textimage_background'] = array(
    'label' => t('Textimage background'),
    'help' => t('Define size and background color of the Textimage, or a background image.'),
    'effect callback' => 'textimage_background_effect',
    'dimensions callback' => 'textimage_background_effect_dimensions',
    'form callback' => 'textimage_background_effect_form',
    'summary theme' => 'textimage_background_effect_summary',
  );
  $effects['textimage_text'] = array(
    'label' => t('Textimage text'),
    'help' => t('Define text font, size and positioning.'),
    'effect callback' => 'textimage_text_effect',
    'dimensions callback' => 'textimage_text_effect_dimensions',
    'form callback' => 'textimage_text_effect_form',
    'summary theme' => 'textimage_text_effect_summary',
  );
  $effects['textimage_gif_transparency'] = array(
    'label' => t('Textimage GIF transparency'),
    'help' => t('Define a color to set GIF transparency.'),
    'effect callback' => 'textimage_gif_transparency_effect',
    'dimensions passthrough' => TRUE,
    'form callback' => 'textimage_gif_transparency_effect_form',
    'summary theme' => 'textimage_gif_transparency_effect_summary',
  );
  return $effects;
}