PHP 8.5.0 RC 2 available for testing

Imagick::getImageFormat

(PECL imagick 2, PECL imagick 3)

Imagick::getImageFormat β€” Returns the format of a particular image in a sequence

Опис

public Imagick::getImageFormat(): string

Returns the format of a particular image in a sequence.

ΠŸΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€ΠΈ

Π£ Ρ†Ρ–Ρ”Ρ— Ρ„ΡƒΠ½ΠΊΡ†Ρ–Ρ— Π½Π΅ΠΌΠ°Ρ” ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Ρ–Π².

ЗначСння, Ρ‰ΠΎ ΠΏΠΎΠ²Π΅Ρ€Ρ‚Π°ΡŽΡ‚ΡŒΡΡ

Returns a string containing the image format on success.

Помилки/Π²ΠΈΠΊΠ»ΡŽΡ‡Π΅Π½Π½Ρ

ΠšΠΈΠ΄Π°Ρ” ImagickException Π² Ρ€Π°Π·Ρ– ΠΏΠΎΠΌΠΈΠ»ΠΊΠΈ.

οΌ‹add a note

User Contributed Notes 1 note

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