Function __global->imagepng
Definitions
sources_custom/phpstub.php
- Output image to browser or file as PNG.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$image | resource | required parameter | N/A | N/A | The image handle |
$filename | ?string | Null | N/A | N/A | The filename (null: output to browser) |
$quality | integer | 0 | N/A | N/A | Compression level (0-9, 9 being highest compression) |
Return
- Success status
- Type: boolean
- Set: N/A
- Range: N/A