- PHP 手册
- 函数参考
- 图像生成和处理
- ImageMagick
- Imagick
Imagick::setFormat
(PECL imagick 2, PECL imagick 3)
Imagick::setFormat — Sets the format of the Imagick object
说明
public Imagick::setFormat(string$format
): bool
Sets the format of the Imagick object.
参数
-
format
-
返回值
成功时返回 true
。
User Contributed Notes 3 notes
up down 4 Meinaart ¶9 years ago
For format see:
http://www.imagemagick.org/script/formats.php
up
down
1
winmonaye at gmail dot com ¶6 years ago
You can only set format listed in $imgic->queryFormats() .
It can be different from http://www.imagemagick.org/script/formats.php .
up
down
1
scott at thebrain dot ca ¶13 years ago
don't confuse this function with setImageFormat()
add a note
官方地址:https://www.php.net/manual/en/imagick.setformat.php