편집

다음을 통해 공유


UIImage.FromImage Method

Definition

Overloads

FromImage(CIImage, nfloat, UIImageOrientation)

Static factory method to create a UIImage backed by the specified , scaled and oriented as specified.

FromImage(CGImage, nfloat, UIImageOrientation)

Static factory method to create a UIImage backed by the specified , scaled and oriented as specified.

FromImage(CGImage)

Creates a new image oject from a Quartz image.

FromImage(CIImage)

Factory method to create a UIImage from a Core Image CIImage.

FromImage(CIImage, nfloat, UIImageOrientation)

Static factory method to create a UIImage backed by the specified , scaled and oriented as specified.

[Foundation.Export("imageWithCIImage:scale:orientation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreImage.CIImage ciImage, nfloat scale, UIKit.UIImageOrientation orientation);
static member FromImage : CoreImage.CIImage * 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 , scaled and oriented as specified.

[Foundation.Export("imageWithCGImage:scale:orientation:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreGraphics.CGImage image, nfloat scale, UIKit.UIImageOrientation orientation);
static member FromImage : CoreGraphics.CGImage * 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)

Creates a new image oject from a Quartz image.

[Foundation.Export("imageWithCGImage:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreGraphics.CGImage image);
static member FromImage : CoreGraphics.CGImage -> UIKit.UIImage

Parameters

image
CGImage

Contains the Quartz image to use.

Returns

A new image object, or null if the image cannot be created.

Attributes

Remarks

This can be used from a background thread.

Applies to

FromImage(CIImage)

Factory method to create a UIImage from a Core Image CIImage.

[Foundation.Export("imageWithCIImage:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreImage.CIImage image);
static member FromImage : CoreImage.CIImage -> UIKit.UIImage

Parameters

image
CIImage

Contains the Quartz image to use.

Returns

A new image object, or null if the image cannot be created.

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to