Imagick::setFormat

(PECL imagick 2.0.0)

Imagick::setFormatSets the format of the Imagick object

说明

bool Imagick::setFormat ( string $format )

Sets the format of the Imagick object.

参数

format

返回值

成功时返回 TRUE

User Contributed Notes

winmonaye at gmail dot com 21-Sep-2015 03:15
You can only set format listed in $imgic->queryFormats() .
It can be different from http://www.imagemagick.org/script/formats.php .
scott at thebrain dot ca 14-Oct-2008 05:18
don't confuse this function with setImageFormat()