Lucee Function Reference

imageflip()

Flips an image across an axis.

Example

imageflip(any image,[string transpose]):void

Category

image

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
image any  Yes   The image on which this operation is performed.  
transpose string  No vertical Transpose the image:
  • vertical (default): Flip an image across an imaginary horizontal line that runs through the center of the image.
  • horizontal: Flip an image across an imaginary vertical line that runs through the center of the image.
  • diagonal: Flip an image across its main diagonal that runs from the upper-left to the lower-right corner.
  • antidiagonal: Flip an image across its main diagonal that runs from the upper-right to the lower-left corner.
  • ("90|180|270"): Rotate an image clockwise by 90, 180, or 270 degrees.