PHP 7.0.6 Released

Imagick::setFormat

(PECL imagick 2.0.0)

Imagick::setFormatSets the format of the Imagick object

Description

bool Imagick::setFormat ( string $format )

Sets the format of the Imagick object.

Parameters

format

Return Values

Returns TRUE on success.

User Contributed Notes

winmonaye at gmail dot com
7 months ago
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
7 years ago
don't confuse this function with setImageFormat()
To Top