---
title: rawPhotoDimensions
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptureresolvedphotosettings/rawphotodimensions
---

# rawPhotoDimensions

The size, in pixels, of the RAW-format photo image that the capture delivers.

## Declaration

```swift
var rawPhotoDimensions: CMVideoDimensions { get }
```

## Discussion

Discussion The output dimensions of a captured image are set at the moment of capture, depending on device orientation and capture session configuration. (For example, when the capture session includes a video output and video stabilization is in use, captured photos are smaller.) This property provides the dimensions of the image to be delivered in the  photoOutput(_:didFinishProcessingPhoto:error:) method. Use this property in earlier delegate methods to find the size of the image before delivery. If you do not request capture in RAW format, this property’s value has zero width and zero height.

## See Also

### Examining output dimensions

- [photoDimensions](avfoundation/avcaptureresolvedphotosettings/photodimensions.md)
- [deferredPhotoProxyDimensions](avfoundation/avcaptureresolvedphotosettings/deferredphotoproxydimensions.md)
- [previewDimensions](avfoundation/avcaptureresolvedphotosettings/previewdimensions.md)
- [embeddedThumbnailDimensions](avfoundation/avcaptureresolvedphotosettings/embeddedthumbnaildimensions.md)
- [rawEmbeddedThumbnailDimensions](avfoundation/avcaptureresolvedphotosettings/rawembeddedthumbnaildimensions.md)
- [livePhotoMovieDimensions](avfoundation/avcaptureresolvedphotosettings/livephotomoviedimensions.md)
- [portraitEffectsMatteDimensions](avfoundation/avcaptureresolvedphotosettings/portraiteffectsmattedimensions.md)
- [dimensionsForSemanticSegmentationMatte(ofType:)](avfoundation/avcaptureresolvedphotosettings/dimensionsforsemanticsegmentationmatte(oftype:).md)
- [photoProcessingTimeRange](avfoundation/avcaptureresolvedphotosettings/photoprocessingtimerange.md)
