(PECL imagick 2, PECL imagick 3)
Imagick::setImageFilename — Sets the filename of a particular image
$filename
Sets the filename of a particular image in a sequence.
filename
Returns true on success.
true
Throws ImagickException on error.