---
title: kCGImagePropertyPixelWidth
framework: imageio
role: symbol
role_heading: Global Variable
path: imageio/kcgimagepropertypixelwidth
---

# kCGImagePropertyPixelWidth

The number of pixels along the x-axis of the image.

## Declaration

```swift
let kCGImagePropertyPixelWidth: CFString
```

## Discussion

Discussion The value of this property is a CFNumber.

## See Also

### Pixel Information

- [kCGImagePropertyPixelFormat](imageio/kcgimagepropertypixelformat.md)
- [kCGImagePropertyPixelHeight](imageio/kcgimagepropertypixelheight.md)
- [kCGImagePropertyDPIHeight](imageio/kcgimagepropertydpiheight.md)
- [kCGImagePropertyDPIWidth](imageio/kcgimagepropertydpiwidth.md)
- [kCGImagePropertyDepth](imageio/kcgimagepropertydepth.md)
