You are here

function iek_image_resize in Image effect kit 7

Invoke the image toolkit so user can choose to use GD or ImageMagick.

1 call to iek_image_resize()
iek_image_resize_effect in ./iek.module
Effect callback for iek_image_resize.

File

./iek.module, line 707
Primarily Drupal hooks and global API functions to manipulate image styles.

Code

function iek_image_resize(stdClass $image, $data) {
  $data['width'] = (int) round($data['width']);
  $data['height'] = (int) round($data['height']);
  return iek_toolkit_invoke('resize', $image, array(
    $data,
  ));
}