PHP 8.3.4 Released!

Imagick::getImageFormat

(PECL imagick 2, PECL imagick 3)

Imagick::getImageFormatシーケンス内の特定の画像のフォーマットを返す

説明

public Imagick::getImageFormat(): string

シーケンス内の特定の画像のフォーマットを返します。

パラメータ

この関数にはパラメータはありません。

戻り値

成功した場合は画像のフォーマットを文字列で返します。

エラー / 例外

エラー時に ImagickException をスローします。

add a note

User Contributed Notes 1 note

up
-1
orrd101 at yahoo dot com
11 years ago
Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.
To Top