bool imageflip ( resource $image
, int $mode
)
imageflip — Flips an image using a given mode
-
image
-
Ресурс изображения, полученный одной из функций создания изображений, например, такой как imagecreatetruecolor().
-
mode
-
Flip mode, this can be one of the
IMG_FLIP_*
constants:Constant Meaning IMG_FLIP_HORIZONTAL
Flips the image horizontally. IMG_FLIP_VERTICAL
Flips the image vertically. IMG_FLIP_BOTH
Flips the image both horizontally and vertically.