Gen. partnerAlgotech

PHP function imageflip()

Flips an image using a given mode

|
September 11, 2019

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.

Other resources

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.