<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/ImageFlipper",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents12ImageFlipperV"
  },
  "title" : "ImageFlipper"
}
-->

# ImageFlipper

An image flipper transformer.

```
struct ImageFlipper
```

## Topics

### Creating a transformer

[`init(orientation: ImageFlipper.Orientation)`](/documentation/CreateMLComponents/ImageFlipper/init(orientation:))

Creates an image flipper.

[`enum Orientation`](/documentation/CreateMLComponents/ImageFlipper/Orientation-swift.enum)

The orientation to flip the image.

### Getting the orientation

[`var orientation: ImageFlipper.Orientation`](/documentation/CreateMLComponents/ImageFlipper/orientation-swift.property)

The orientation to flip the image.

### Performing the transformation

[`func applied(to: CIImage, eventHandler: EventHandler?) -> CIImage`](/documentation/CreateMLComponents/ImageFlipper/applied(to:eventHandler:))

Performs the image flipper operation on the input image.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Transformer`](/documentation/CreateMLComponents/Transformer)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)