You are here

function smartcrop_crop_image in Smart Crop 6

Crop the image.

File

./smartcrop_actions.inc, line 52
Imagecache actions.

Code

function smartcrop_crop_image(&$image, $data) {
  if (imageapi_toolkit_invoke('smartcrop_crop', $image, $data)) {
    return TRUE;
  }
}