Function __global->imageistruecolor

Definitions

sources_custom/phpstub.php

  • Finds whether an image is a truecolor image.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$image resource No No required parameter N/A N/A The image handle

Returns

  • Whether the image is truecolor
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Finds whether an image is a truecolor image.
 *
 * @param  resource $image The image handle
 * @return boolean Whether the image is truecolor
 */

function imageistruecolor($image) : bool