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
 
<Gmagick::getimagesignatureGmagick::getimageunits>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getimagetype

(PECL gmagick >= Unknown)

Gmagick::getimagetype — Gets the potential image type

Description

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


<Gmagick::getimagesignatureGmagick::getimageunits>
^GmagickLast updated: Mon, 26 Oct 2026