ImageInterface::desaturate

public ImageInterface::desaturate()

Converts an image to grayscale.

Return value

bool TRUE on success, FALSE on failure.

File

core/lib/Drupal/Core/Image/ImageInterface.php, line 223

Class

ImageInterface
Provides an interface for image objects.

Namespace

Drupal\Core\Image

Code

1
public function desaturate();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.