Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Imagick::getFontImagick::getGravity>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::getFormat

(PECL imagick 2, PECL imagick 3)

Imagick::getFormat — Returns the format of the Imagick object

Description

public function Imagick::getFormat(): string

Returns the format of the Imagick object.

Parameters

This function has no parameters.

Return Values

Returns the format of the image.

Errors/Exceptions

Throws ImagickException on error.


<Imagick::getFontImagick::getGravity>
^ImagickLast updated: Mon, 26 Oct 2026