Gmagick::getimagetype

(PECL gmagick >= Unknown)

Gmagick::getimagetypeGets the potential image type

Description

public Gmagick::getimagetype(): int

Gets the potential image type.

Parameters

This function has no parameters.

Return Values

Returns the potential image type.

Errors/Exceptions

Throws an GmagickException on error.