PHP function imageflip()
Availability in versions: PHP 5.5.0
Flips an image using a given mode
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$image |
resource |
An image resource, returned by one of the image creation functions, such as {@link https://www.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}. | |
$mode |
int |
Flip mode, this can be one of the IMG_FLIP_* constants: |
Return values
bool
Returns TRUE on success or FALSE on failure.