Imagick::setFilename

(PECL imagick 2, PECL imagick 3)

Imagick::setFilenameSets the filename before you read or write the image

Description

public Imagick::setFilename ( string $filename ) : bool

Sets the filename before you read or write an image file.

Parameters

filename

Return Values

Returns true on success.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setfilename.php