Initializes and returns an NSImage instance with the contents of the CGImage.
Original signature is '- (id)initWithCGImage:(CGImageRef)cgImage size:(NSSize)size'
Available in Mac OS X v10.6 and later.
Declaration Syntax
Return Value
An initialized NSImage instance, or nil if the new instance cannot be initialized.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)