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

Imagick::setImageFormat

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Sets the format of a particular image

Description

Imagick::setImageFormat(string $format): bool

Sets the format of a particular image in a sequence.

Parameters

format

String presentation of the image format. Format support depends on the ImageMagick installation.

Return Values

Success

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