iOS Guides | Samples

MonoTouch.UIKit.UIImage.FromImage Method

Factory method to create a UIImage from a Core Image CIImage, with the specified scale and orientation.

Syntax

[MonoTouch.Foundation.Export("imageWithCIImage:scale:orientation:")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 6, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.ThreadSafe]
public static UIImage FromImage (CIImage ciImage, Single scale, UIImageOrientation orientation)

Parameters

ciImage
Core Image that is to be encapsulated.
scale
Scale factor to be used when interpreting the image data.
orientation
Orientation for the image data.

Returns

New image.

Remarks

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0