---
title: prefersHighDynamicRange
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiimagereader-swift.struct/configuration-swift.struct/prefershighdynamicrange
---

# prefersHighDynamicRange

A Boolean value that indicates whether the image reader should decode the image as HDR when the type is capable of decoding in either SDR or HDR.

## Declaration

```swift
var prefersHighDynamicRange: Bool { get set }
```

## Discussion

Discussion This property doesn’t affect images that only decode in either SDR or HDR. The default value depends on the system capabilities.

## See Also

### Related Documentation

- [Applying Apple HDR effect to your photos](appkit/applying-apple-hdr-effect-to-your-photos.md)

### Configuration properties

- [preparesImagesForDisplay](uikit/uiimagereader-swift.struct/configuration-swift.struct/preparesimagesfordisplay.md)
- [preferredThumbnailSize](uikit/uiimagereader-swift.struct/configuration-swift.struct/preferredthumbnailsize.md)
- [pixelsPerInch](uikit/uiimagereader-swift.struct/configuration-swift.struct/pixelsperinch.md)
