<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImage/imageWithCIImage:scale:orientation:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIImage(cm)imageWithCIImage:scale:orientation:"
  },
  "title" : "imageWithCIImage:scale:orientation:"
}
-->

# imageWithCIImage:scale:orientation:

Creates and returns an image object based on a Core Image object and the specified attributes.

```
+ (UIImage *) imageWithCIImage:(CIImage *) ciImage scale:(CGFloat) scale orientation:(UIImageOrientation) orientation;
```

## Parameters

`ciImage`

The Core Image object to encapsulate.

`scale`

The scale factor to use when interpreting the image data. Specifying a scale factor of 1.0 results in an image whose size matches the pixel-based dimensions of the image. Applying a different scale factor changes the size of the image as reported by the [`size`](/documentation/UIKit/UIImage/size) property.

`orientation`

The orientation of the image data. You can use this parameter to specify any rotation factors applied to the image.

## Return Value

A new image object.

---

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)