Mac Developer Library

Developer

AppKit Framework Reference NSCIImageRep Class Reference

Options
Deployment Target:

On This Page
Language:

NSCIImageRep

An NSCIImageRep object can render an image from a Core Image CIImage instance. For more information about the CIImage class and Core Image, see Core Image Programming Guide.

  • Creates and returns an NSCIImageRep object initialized to the specified CIImage instance.

    Declaration

    Objective-C

    + (instancetype)imageRepWithCIImage:(CIImage *)image

    Parameters

    image

    The CIImage instance.

    Return Value

    An initialized NSCIImageRep object, or nil if the object could not be initialized.

    Availability

    Available in OS X v10.4 and later.

  • Returns an NSCIImageRep object initialized to the specified CIImage instance.

    Declaration

    Swift

    init(CIImage image: CIImage)

    Objective-C

    - (instancetype)initWithCIImage:(CIImage *)image

    Parameters

    image

    The CIImage instance.

    Return Value

    An initialized NSCIImageRep object, or nil if the object could not be initialized.

    Availability

    Available in OS X v10.4 and later.

  • The receiver's CIImage instance. (read-only)

    Declaration

    Swift

    var CIImage: CIImage { get }

    Objective-C

    @property(readonly, strong) CIImage *CIImage

    Availability

    Available in OS X v10.4 and later.