You are here

function image_imagemagick_load in ImageMagick 7

Creates an image resource from a file.

Parameters

$image: An image object. The $image->resource value will populated by this call.

Return value

TRUE or FALSE, based on success.

See also

image_load()

File

./imagemagick.module, line 303
Provides ImageMagick integration.

Code

function image_imagemagick_load(stdClass $image) {
  $image->ops = array();
  drupal_alter('imagemagick_load', $image);
  return $image;
}