Imagick::setFormat

(PECL imagick 2, PECL imagick 3)

Imagick::setFormatSets the format of the Imagick object

Description

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

Sets the format of the Imagick object.

Parameters

format

Return Values

Returns true on success.

add a note

User Contributed Notes 3 notes

up
2
scott at thebrain dot ca
16 years ago
don't confuse this function with setImageFormat()
up
1
winmonaye at gmail dot com
9 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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant