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