Imagick::writeImageFile
(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Imagick::writeImageFile — Writes an image to a filehandle
Parameters
filehandle
-
Filehandle where to write the image.
format
-
The image format.
The list of valid format specifiers depends on the compiled feature set of
ImageMagick, and can be queried at runtime via Imagick::queryFormats().
Return Values
Returns true on success.