UIImage.FromImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FromImage(CIImage, NFloat, UIImageOrientation) |
Static factory method to create a UIImage backed by the specified |
| FromImage(CGImage, NFloat, UIImageOrientation) |
Static factory method to create a UIImage backed by the specified |
| FromImage(CGImage) | |
| FromImage(CIImage) |
FromImage(CIImage, NFloat, UIImageOrientation)
Static factory method to create a UIImage backed by the specified ciImage, scaled and oriented as specified.
[Foundation.Export("imageWithCIImage:scale:orientation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage(CoreImage.CIImage ciImage, System.Runtime.InteropServices.NFloat scale, UIKit.UIImageOrientation orientation);
[<Foundation.Export("imageWithCIImage:scale:orientation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
static member FromImage : CoreImage.CIImage * System.Runtime.InteropServices.NFloat * UIKit.UIImageOrientation -> UIKit.UIImage
Parameters
- ciImage
- CIImage
- scale
- NFloat
- orientation
- UIImageOrientation
Returns
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.
Applies to
FromImage(CGImage, NFloat, UIImageOrientation)
Static factory method to create a UIImage backed by the specified image, scaled and oriented as specified.
[Foundation.Export("imageWithCGImage:scale:orientation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage(CoreGraphics.CGImage image, System.Runtime.InteropServices.NFloat scale, UIKit.UIImageOrientation orientation);
[<Foundation.Export("imageWithCGImage:scale:orientation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
static member FromImage : CoreGraphics.CGImage * System.Runtime.InteropServices.NFloat * UIKit.UIImageOrientation -> UIKit.UIImage
Parameters
- image
- CGImage
- scale
- NFloat
- orientation
- UIImageOrientation
Returns
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.
Applies to
FromImage(CGImage)
[Foundation.Export("imageWithCGImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage(CoreGraphics.CGImage image);
[<Foundation.Export("imageWithCGImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
static member FromImage : CoreGraphics.CGImage -> UIKit.UIImage
Parameters
- image
- CGImage
Returns
- Attributes
Applies to
FromImage(CIImage)
[Foundation.Export("imageWithCIImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage(CoreImage.CIImage image);
[<Foundation.Export("imageWithCIImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
static member FromImage : CoreImage.CIImage -> UIKit.UIImage
Parameters
- image
- CIImage
Returns
- Attributes