public function ImageInterface::desaturate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Image/ImageInterface.php \Drupal\Core\Image\ImageInterface::desaturate()
Converts an image to grayscale.
Return value
bool TRUE on success, FALSE on failure.
1 method overrides ImageInterface::desaturate()
- Image::desaturate in core/
lib/ Drupal/ Core/ Image/ Image.php - Converts an image to grayscale.
File
- core/
lib/ Drupal/ Core/ Image/ ImageInterface.php, line 225 - Contains \Drupal\Core\Image\ImageInterface.
Class
- ImageInterface
- Provides an interface for image objects.
Namespace
Drupal\Core\ImageCode
public function desaturate();