Imagick::writeImageFile
PHP function
Edit on GitHub ✎
(PECL imagick 2 >= 2.3.0, PECL imagick 3)
Writes an image to a filehandle
Description
Imagick::writeImageFile(resource $filehandle, [string $format]): bool
Writes the image sequence to an open filehandle. The handle must be opened with for example fopen. 0x636
Parameters
filehandleFilehandle where to write the image.
formatThe 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
Success
See Also
Imagick::queryFormats