Writes an image to the specified filename
$filename
Writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by Imagick::ReadImage() or Imagick::SetImageFilename().
filename
Returns TRUE on success.
TRUE