Class

AVCaptureStillImageOutput

A capture output for capturing still photos in macOS.

Overview

Topics

Capturing an Image

var isCapturingStillImage: Bool

Indicates whether a still image is being captured.

Getting and Setting Image Stabilization Settings

var isStillImageStabilizationActive: Bool

Indicates whether still image stabilization is in use for the current capture.

Deprecated
var automaticallyEnablesStillImageStabilizationWhenAvailable: Bool

A Boolean value that indicates whether still image stabilization should be automatically enabled.

Deprecated
var isStillImageStabilizationSupported: Bool

A Boolean value that indicates whether the still image currently being captured supports still image stabilization.

Deprecated

Configuring Image Settings

var isHighResolutionStillImageOutputEnabled: Bool

A Boolean value that indicates whether the receiver should emit still images at the highest resolution supported by its source AVCaptureDevice objects activeFormat property.

Deprecated
var availableImageDataCVPixelFormatTypes: [NSNumber]

The supported image pixel formats that can be specified as output settings.

var availableImageDataCodecTypes: [AVVideoCodecType]

The supported image codec formats that can be specified as output settings.

var outputSettings: [String : Any]

The compression settings for the output.

Video Settings Dictionaries

Define output image and video formats by using these key and value constants.

Image Format Conversion

class func jpegStillImageNSDataRepresentation(CMSampleBuffer) -> Data?

Returns an NSData representation of a still image data and metadata attachments in a JPEG sample buffer.

Still Image Bracketed Capture

var maxBracketedCaptureStillImageCount: Int

Specifies the maximum number of still images that may be taken in a single bracket.

Deprecated
var isLensStabilizationDuringBracketedCaptureSupported: Bool

A Boolean value that indicates whether the capture output supports lens stabilization across the duration of a bracketed capture.

Deprecated
var isLensStabilizationDuringBracketedCaptureEnabled: Bool

A Boolean value that specifies whether to stabilize the lens across the duration of a bracketed capture.

Deprecated

Creating Still Image Output

init()

Creates new still image output.

Relationships

Inherits From

Conforms To

See Also

Mac Capture Options

class AVCaptureScreenInput

A capture input for recording from a screen in macOS.