GD Функции
PHP Manual

imageistruecolor

(PHP 4 >= 4.3.2, PHP 5)

imageistruecolorFinds whether an image is a truecolor image

Описание

bool imageistruecolor ( resource $image )

imageistruecolor() finds whether the image image is a truecolor image.

Список параметров

image

An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

Возвращаемые значения

Returns TRUE if the image is truecolor, FALSE otherwise.

Примечания

Замечание: Эта функция нуждается в GD версии 2.0.1 или выше.

Смотрите также


GD Функции
PHP Manual