function ImageToolkitInterface::save
Writes an image resource to a destination file.
Parameters
string $destination: A string file URI or path where the image should be saved.
Return value
bool TRUE on success, FALSE on failure.
1 method overrides ImageToolkitInterface::save()
- GDToolkit::save in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Writes an image resource to a destination file.
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitInterface.php, line 90
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public function save($destination);