Class

AVCaptureStillImageOutput

A capture output for capturing still photos in macOS.

Declaration

@interface AVCaptureStillImageOutput : AVCaptureOutput

Overview

Topics

Capturing an Image

- captureStillImageAsynchronouslyFromConnection:completionHandler:

Initiates a still image capture and returns immediately.

capturingStillImage

Indicates whether a still image is being captured.

Getting and Setting Image Stabilization Settings

stillImageStabilizationActive

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

Deprecated
automaticallyEnablesStillImageStabilizationWhenAvailable

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

Deprecated
stillImageStabilizationSupported

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

Deprecated

Configuring Image Settings

highResolutionStillImageOutputEnabled

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
availableImageDataCVPixelFormatTypes

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

availableImageDataCodecTypes

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

outputSettings

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

+ jpegStillImageNSDataRepresentation:

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

Still Image Bracketed Capture

maxBracketedCaptureStillImageCount

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

Deprecated
- prepareToCaptureStillImageBracketFromConnection:withSettingsArray:completionHandler:

Allows the receiver to prepare resources in advance of capturing a still image bracket.

Deprecated
lensStabilizationDuringBracketedCaptureSupported

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

Deprecated
lensStabilizationDuringBracketedCaptureEnabled

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.

+ new

Creates new still image output.

Relationships

Inherits From

See Also

Mac Capture Options

AVCaptureScreenInput

A capture input for recording from a screen in macOS.