---
title: kCGImagePropertyFileSize
framework: imageio
role: symbol
role_heading: Global Variable
path: imageio/kcgimagepropertyfilesize
---

# kCGImagePropertyFileSize

The size of the image file in bytes, if known.

## Declaration

```swift
let kCGImagePropertyFileSize: CFString
```

## Discussion

Discussion The value of this key is a CFNumber.
