Instance Method

createSnapshotImageOfType:

Returns the current image in the view as an image object of the provided image type.

Declaration

- (id)createSnapshotImageOfType:(NSString *)type;

Parameters

type

A string that specifies any of the following image types: NSBitmapImageRep, NSImage, CIImage, CGImage, CVOpenGLBuffer, CVPixelBuffer.

Return Value

The snapshot image in the provided image type. You are responsible for releasing this object when you no longer need it.

See Also

Taking Snapshot Images

- snapshotImage

Returns an NSImage object of the current image in the view.

Deprecated