# Flip

Mirror flip the image vertically or horizontally.

## Parameters

<table><thead><tr><th width="198.4826833846656">Parameter</th><th width="208.18338610093963">Type</th><th>Description</th></tr></thead><tbody><tr><td>flipType</td><td><code>imgo.FlipType</code></td><td>Use <code>imgo.Horizontal</code> for horizontal mirror flipping and <code>imgo.Vertical</code> for vertical mirror flipping.</td></tr></tbody></table>

## Return Values

The instance of `*imgo.Image` .

## Examples

```go
package main

import (
    "github.com/fishtailstudio/imgo"
)

func main() {
    imgo.Load("gopher.png").
        Flip(imgo.Horizontal).
        Save("out.png")
}
```

```go
package main

import (
    "github.com/fishtailstudio/imgo"
)

func main() {
    imgo.Load("gopher.png").
        Flip(imgo.Vertical).
        Save("out.png")
}
```
