ImageEffectInterface::applyEffect

public ImageEffectInterface::applyEffect(ImageInterface $image)

Applies an image effect to the image object.

Parameters

\Drupal\Core\Image\ImageInterface $image: An image file object.

Return value

bool TRUE on success. FALSE if unable to perform the image effect on the image.

File

core/modules/image/src/ImageEffectInterface.php, line 30

Class

ImageEffectInterface
Defines the interface for image effects.

Namespace

Drupal\image

Code

public function applyEffect(ImageInterface $image);
doc_Drupal
2016-10-29 09:19:17
Comments
Leave a Comment

Please login to continue.