Function __global->imagecreatefromgif

Definitions

sources_custom/phpstub.php

  • Create a new image from a GIF file on disk.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$path PATH No No required parameter N/A N/A The GIF file

Returns

  • The image handle (false: error)
  • Type: ~resource
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Create a new image from a GIF file on disk.
 *
 * @param  PATH $path The GIF file
 * @return ~resource The image handle (false: error)
 */

function imagecreatefromgif(string $path)