You are here

function filtersie_generic in FiltersIE 7

Apply a convolution to an image given a kernel matrix.

Parameters

$image: An image object returned by image_load().

$matrix: The kernel matrix.

$divisor: The $matrix divisor.

Return value

TRUE or FALSE, based on success.

See also

image_load()

image_<gd|imagemagick>_filtersie_convolution()

1 call to filtersie_generic()
filtersie_generic_effect in ./filtersie.module
Image effect callback; Apply a convolution to an image resource.

File

./filtersie.module, line 161
Filters Image Effect (filtersie)

Code

function filtersie_generic($image, $matrix, $divisor, $offset) {
  return image_toolkit_invoke('filtersie_convolution', $image, array(
    $matrix,
    $divisor,
    $offset,
  ));
}