---
title: kCGImagePropertyDPIWidth
framework: imageio
role: symbol
role_heading: Global Variable
path: imageio/kcgimagepropertydpiwidth
---

# kCGImagePropertyDPIWidth

The resolution, in dots per inch, in the x dimension.

## Declaration

```swift
let kCGImagePropertyDPIWidth: CFString
```

## Discussion

Discussion The value of this property is a CFNumber.

## See Also

### Pixel Information

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