Imagick::getFormat

(PECL imagick 2, PECL imagick 3)

Imagick::getFormatReturns the format of the Imagick object

Description

public 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.