What new in image iO

Asked on 2025-06-26

1 search

In the session titled "Use HDR for dynamic image experiences in your app" at WWDC 2024, Apple introduced updates to the Image I/O framework, particularly focusing on HDR (High Dynamic Range) image support. The CIImage option has been expanded to support the Apple gain map image format, and it now works to read adaptive HDR files. This is available via the Image I/O API, specifically through the kCGImageSourceDecodeToHDR option. Additionally, a new content headroom property has been added to key system image classes, which is crucial for displaying HDR images effectively. This property can be queried to determine the headroom of an image, which varies depending on the image type and content.

For more details, you can refer to the session Use HDR for dynamic image experiences in your app (19:29).