You are here

function image_imagemagick_strip in ImageMagick 7

Strips metadata from an image.

Parameters

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

Return value

TRUE or FALSE, based on success.

File

imagemagick_advanced/imagemagick_advanced.module, line 89
Provides advanced ImageMagick effects and options.

Code

function image_imagemagick_strip(stdClass $image) {
  $image->ops[] = '-strip';
  return TRUE;
}