PHP 8.2.2 Released!

Imagick::setFormat

(PECL imagick 2, PECL imagick 3)

Imagick::setFormatSets the format of the Imagick object

说明

public Imagick::setFormat(string $format): bool

Sets the format of the Imagick object.

参数

format

返回值

成功时返回 true

add a note

User Contributed Notes 3 notes

up
2
scott at thebrain dot ca
14 years ago
don't confuse this function with setImageFormat()
up
1
winmonaye at gmail dot com
7 years ago
You can only set format listed in $imgic->queryFormats() .
It can be different from http://www.imagemagick.org/script/formats.php .
To Top