php8.5
Home/ Manual/ imagick / imagick/ Imagick::writeImagesFile

Imagick::writeImagesFile

PHP function Edit on GitHub ✎

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

Writes frames to a filehandle

Description

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. 0x636

Parameters

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.

Return Values

Success

See Also

  • Imagick::queryFormats

Source: reference/imagick/imagick/writeimagesfile.xml · from the official PHP manual (php/doc-en)