<!--
{
  "availability" : [
    "iOS: 4.0.0 - 10.0.0",
    "iPadOS: 4.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.7.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureStillImageOutput/outputSettings",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureStillImageOutput(py)outputSettings"
  },
  "title" : "outputSettings"
}
-->

# outputSettings

The compression settings for the output.

```
var outputSettings: [String : Any] { get set }
```

## Discussion

Use [`availableImageDataCVPixelFormatTypes`](/documentation/AVFoundation/AVCaptureStillImageOutput/availableImageDataCVPixelFormatTypes) and [`availableImageDataCodecTypes`](/documentation/AVFoundation/AVCaptureStillImageOutput/availableImageDataCodecTypes) to determine what codec keys and pixel formats are supported.

In iOS, the only currently supported keys are [`AVVideoCodecKey`](/documentation/AVFoundation/AVVideoCodecKey) and <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelBufferPixelFormatTypeKey>. These keys are mutually exclusive—only one may be present. The recommended values are <doc://com.apple.documentation/documentation/CoreMedia/kCMVideoCodecType_JPEG> for [`AVVideoCodecKey`](/documentation/AVFoundation/AVVideoCodecKey) and <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelFormatType_420YpCbCr8BiPlanarFullRange> and <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelFormatType_32BGRA> for <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelBufferPixelFormatTypeKey>.

In iOS 6.0 and later, the [`AVVideoQualityKey`](/documentation/AVFoundation/AVVideoQualityKey) is supported, and may only be used when [`AVVideoCodecKey`](/documentation/AVFoundation/AVVideoCodecKey) is set to [`AVVideoCodecJPEG`](/documentation/AVFoundation/AVVideoCodecJPEG).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)