PHP 8.1.15 Released!


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

Imagick::writeImagesFileWrites frames to a filehandle


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. Este método está disponível se o PHP foi compilado com o ImageMagick versão 6.3.6 ou superior.



Filehandle where to write the images.


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

Valor Retornado

Retorna true no sucesso.

Veja Também

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top