Forum und email
imageistruecolor

imageistruecolor

(PHP 4 >= 4.3.2, PHP 5)

imageistruecolor -- Finds 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

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