= 2.3.0, PECL imagick 3)Imagick::writeImagesFile — Writes frames to a filehandle說(shuō)明public Imagick::writeImages">

Imagick::writeImagesFile

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::writeImagesFileWrites frames to a filehandle

說(shuō)明

public Imagick::writeImagesFile(resource $filehandle, string $format = ?): bool

Writes all image frames into an open filehandle. This method can be used to write animated gifs or other multiframe images into open filehandle. 此方法在Imagick基于ImageMagick 6.3.6以上版本編譯時(shí)可用。

參數(shù)

filehandle

Filehandle where to write the images.

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().

返回值

成功時(shí)返回 true。

參見(jiàn)