MagickWriteImage
MagickWriteImage -- writes the current active image to the specified filename
Description
bool MagickWriteImage( MagickWand mgck_wnd, string filename )
Writes the current active image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by MagickReadImage() or MagickSetImageFilename(). NOTE: In the preceeding function description, whether an image is actually written to any filename, depends on whether the filename obeys all of PHP's filesystem security restrictions (open_basedir, safe_mode, etc.). If any of the filenames mentioned below do not obey PHP's restrictions, a fatal error will occur, and script execution will halt.
A description of each parameter follows:
| mgck_wnd | A MagickWand resource |
| filename | The image filename |