function iek_get_image_filters in Image effect kit 7
Same name and namespace in other branches
- 8 iek.module \iek_get_image_filters()
Gets a list of available image filters.
Return value
array All available filters array.
2 calls to iek_get_image_filters()
- iek_image_filter_form in ./
iek.module - Effect configuration form for iek_image_filter.
- theme_iek_image_filter_summary in ./
iek.module - Theme function for filter effect summary.
File
- ./
iek.module, line 1296 - Primarily Drupal hooks and global API functions to manipulate image styles.
Code
function iek_get_image_filters() {
$filters = array(
IMG_FILTER_NEGATE => t('Negate'),
IMG_FILTER_GRAYSCALE => t('Grayscale'),
IMG_FILTER_BRIGHTNESS => t('Brightness'),
IMG_FILTER_CONTRAST => t('Contrast'),
IMG_FILTER_COLORIZE => t('Colorize'),
IMG_FILTER_EDGEDETECT => t('Edgedetect'),
IMG_FILTER_EMBOSS => t('Emboss'),
IMG_FILTER_GAUSSIAN_BLUR => t('Gaussian blur'),
IMG_FILTER_SELECTIVE_BLUR => t('Selective blur'),
IMG_FILTER_MEAN_REMOVAL => t('Mean removal'),
IMG_FILTER_SMOOTH => t('Smooth'),
);
return $filters;
}