# CapturePixelFormat

> The encoded image or video pixel format to use for PhotoCapture and VideoCapture.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Windows.WebCam](/engine/6000.6/script-reference/unityengine/windows/webcam.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum CapturePixelFormat
```

## Fields

| Value                                                                                             | Description                                                              |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [BGRA32](/engine/6000.6/script-reference/unityengine/windows/webcam/capturepixelformat/bgra32.md) | 8 bits per channel (blue, green, red, and alpha).                        |
| [JPEG](/engine/6000.6/script-reference/unityengine/windows/webcam/capturepixelformat/jpeg.md)     | Encode photo in JPEG format.                                             |
| [NV12](/engine/6000.6/script-reference/unityengine/windows/webcam/capturepixelformat/nv12.md)     | 8-bit Y plane followed by an interleaved U/V plane with 2x2 subsampling. |
| [PNG](/engine/6000.6/script-reference/unityengine/windows/webcam/capturepixelformat/png.md)       | Portable Network Graphics Format.                                        |
