You are here

Functions in Smart Crop 7

Primary tabs

Namesort descending Location Description Direct uses Strings
image_gd_smartcrop_crop ./image.gd.inc Crop an image, removing the lowest entropy areas. 1
image_gd_smartcrop_scale ./image.gd.inc Scale and crop an image to the specified size using GD.
smartcrop_crop_effect ./smartcrop.effects.inc Image effect callback; Smart Crop an image resource. 1
smartcrop_disable ./smartcrop.install Implements hook_disable().
smartcrop_enable ./smartcrop.install Implements hook_enable().
smartcrop_image_effect_info ./smartcrop.effects.inc Implements hook_image_effect_info().
smartcrop_scale_effect ./smartcrop.effects.inc Image effect callback; Scale and Smart Crop an image resource. 1
_smartcrop_gd_entropy ./image.gd.inc Compute the entropy of an image, defined as -sum(p.*log2(p)). 2
_smartcrop_gd_entropy_slice ./image.gd.inc Compute the entropy of an image slice. 1
_smartcrop_gd_histogram ./image.gd.inc Compute a histogram of an image. 1

Other projects