8 calls to Image::apply() in Drupal 9
- Image::convert in core/
lib/ Drupal/ Core/ Image/ Image.php - Instructs the toolkit to save the image in the format specified by the extension.
- Image::createNew in core/
lib/ Drupal/ Core/ Image/ Image.php - Prepares a new image, without loading it from a file.
- Image::crop in core/
lib/ Drupal/ Core/ Image/ Image.php - Crops an image to a rectangle specified by the given dimensions.
- Image::desaturate in core/
lib/ Drupal/ Core/ Image/ Image.php - Converts an image to grayscale.
- Image::resize in core/
lib/ Drupal/ Core/ Image/ Image.php - Resizes an image to the given dimensions (ignoring aspect ratio).
- Image::rotate in core/
lib/ Drupal/ Core/ Image/ Image.php - Rotates an image by the given number of degrees.
- Image::scale in core/
lib/ Drupal/ Core/ Image/ Image.php - Scales an image while maintaining aspect ratio.
- Image::scaleAndCrop in core/
lib/ Drupal/ Core/ Image/ Image.php - Scales an image to the exact width and height given.