GD Funkcje
PHP Manual

imageistruecolor

(PHP 4 >= 4.3.2, PHP 5)

imageistruecolorFinds whether an image is a truecolor image

Opis

bool imageistruecolor ( resource $image )

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

Parametry

obraz

Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().

Zwracane wartości

Returns TRUE if the image is truecolor, FALSE otherwise.

Notatki

Informacja: Ta funkcja wymaga GD 2.0.1 lub nowszej (2.0.28 lub nowsza jest zalecana).

Patrz także


GD Funkcje
PHP Manual