Function __global->imagesavealpha
Definitions
sources_custom/phpstub.php
- Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $image | resource | No | No | required parameter | N/A | N/A | The image handle |
| $saveflag | boolean | No | No | required parameter | N/A | N/A | Whether to save alpha channel information |
Preview
Code (PHP)
/**
* Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images.
*
* @param resource $image The image handle
* @param boolean $saveflag Whether to save alpha channel information
*/
function imagesavealpha($image, bool $saveflag)
* Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images.
*
* @param resource $image The image handle
* @param boolean $saveflag Whether to save alpha channel information
*/
function imagesavealpha($image, bool $saveflag)

