Function __global->imagecreate
Definitions
sources_custom/phpstub.php
- Create a new palette based image.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $width | integer | No | No | required parameter | N/A | N/A | Width |
| $height | integer | No | No | required parameter | N/A | N/A | Height |
Returns
- The image handle
- Type: resource
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Create a new palette based image.
*
* @param integer $width Width
* @param integer $height Height
* @return resource The image handle
*/
function imagecreate(int $width, int $height)
* Create a new palette based image.
*
* @param integer $width Width
* @param integer $height Height
* @return resource The image handle
*/
function imagecreate(int $width, int $height)

