Forum und email
imageistruecolor

imageistruecolor

(PHP 4 >= 4.3.2, PHP 5)

imageistruecolor -- Finds whether an image is a truecolor image

Popis

bool imageistruecolor ( resource image )

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

Seznam parametrů

image

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

Návratové hodnoty

Returns TRUE if the image is truecolor, FALSE otherwise.

Poznámky

Poznámka: Tato funkce vyžaduje GD 2.0.1 nebo novější (doporučena verze 2.0.28 nebo novější).