# image/flop
Mirror an `Image` or a `PixelBuffer` horizontally (about the y-axis): the
left column becomes the right column. Returns a new value of the same type.
## Syntax
[image/flop $v]
## Parameters
- `$v` — an `Image` or `PixelBuffer` value
## Examples
set img [image/open "test/fixtures/images/test.png"] [image/dims [image/flop $img]] # → %{ :w 8 :h 6 } (unchanged) [image/flop [image/flip $img]] # equals [image/rotate $img 180] set buf [image/load "test/fixtures/images/test.png"] [image/dims [image/flop $buf]] # → %{ :w 8 :h 6 }
## Returns
A new `Image`/`PixelBuffer` with identical dimensions and pixel format; the
source is unchanged. `nil` when the argument is neither an `Image` nor a
`PixelBuffer`.
## See Also
`image/flip`, `image/rotate`, `image/resize`