PHP 8.0.24 Released!


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

Imagick::writeImageFileWrites an image to a filehandle


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

Writes the image sequence to an open filehandle. The handle must be opened with for example fopen. 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 image.


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