<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNGeneratePersonSegmentationRequest/outputPixelFormat",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNGeneratePersonSegmentationRequest(py)outputPixelFormat"
  },
  "title" : "outputPixelFormat"
}
-->

# outputPixelFormat

The pixel format of the output image.

```
var outputPixelFormat: OSType { get set }
```

## Discussion

The property supports the following values:

- <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelFormatType_OneComponent8>
- <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelFormatType_OneComponent16Half>
- <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelFormatType_OneComponent32Float>

The default value is <doc://com.apple.documentation/documentation/CoreVideo/kCVPixelFormatType_OneComponent8>.

---

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)