public function ImageToolkitInterface::save

public ImageToolkitInterface::save($destination)

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.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 90

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public function save($destination);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitInterface.php/function/ImageToolkitInterface::save/8.1.x