imageistruecolor
(PHP 4 >= 4.3.2, PHP 5)
imageistruecolor — Finds 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().
Return值
Returns TRUE if the image is truecolor, FALSE otherwise.
註釋
Note: 本函式需要 GD 2.0.1 或更高版本(推薦 2.0.28 及更高版本)。