---
title: bufferPixelFormat()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcplugininputimagesource/bufferpixelformat()
---

# bufferPixelFormat()

Returns the pixel format of the image buffer representation.

## Declaration

```swift
func bufferPixelFormat() -> String!
```

## Return Value

Return Value A string that specifies the pixel format. The supported formats are ARGB8 (8-bit alpha, red, green, blue), BGRA8 (8-bit blue, green, red, and alpha), RGBAf (floating-point, red, green, blue, alpha), I8 (8-bit intensity), and If (floating-point intensity).

## See Also

### Getting Image Buffer Information

- [imageBounds()](quartz/qcplugininputimagesource/imagebounds().md)
- [bufferPixelsWide()](quartz/qcplugininputimagesource/bufferpixelswide().md)
- [bufferPixelsHigh()](quartz/qcplugininputimagesource/bufferpixelshigh().md)
- [bufferColorSpace()](quartz/qcplugininputimagesource/buffercolorspace().md)
- [bufferBaseAddress()](quartz/qcplugininputimagesource/bufferbaseaddress().md)
- [bufferBytesPerRow()](quartz/qcplugininputimagesource/bufferbytesperrow().md)
