---
title: rawFileType
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotosettings/rawfiletype
---

# rawFileType

The container file format for eventual output of the RAW image.

## Declaration

```swift
var rawFileType: AVFileType? { get }
```

## Discussion

Discussion You specify a file format when creating capture settings with the init(rawPixelFormatType:rawFileType:processedFormat:processedFileType:) initializer. If you didn’t specify a file format, this value is nil, and the photo output automatically choosea a default file format appropriate to the rawPhotoPixelFormatType property.

## See Also

### Inspecting settings

- [uniqueID](avfoundation/avcapturephotosettings/uniqueid.md)
- [format](avfoundation/avcapturephotosettings/format.md)
- [processedFileType](avfoundation/avcapturephotosettings/processedfiletype.md)
- [rawPhotoPixelFormatType](avfoundation/avcapturephotosettings/rawphotopixelformattype.md)
