Core image

Generated on 10/5/2024

1 search

The session titled "Use HDR for dynamic image experiences in your app" at WWDC 2024 provides detailed insights into working with HDR images using Core Image. It covers various aspects such as reading, editing, displaying, and saving HDR images. Here are some key points:

  1. Reading HDR Images: The session discusses the flexibility of adaptive HDR files, which can be loaded as either SDR or HDR images. The CI image option "expand HDR" supports the Apple gain map image format, allowing for HDR image loading.

  2. Editing Strategies: Different strategies for editing HDR images are discussed, including the use of CI filters that preserve HDR range. The session also highlights the importance of the content headroom property for HDR images.

  3. Displaying HDR Images: When displaying HDR images, the session recommends using the tonemap headroom filter for optimal display. The approach depends on the edit strategy used, and the goal is to utilize both image content headroom and display headroom.

  4. Saving HDR Images: The session outlines best practices for saving HDR images, depending on the strategy used for loading and editing. It suggests saving ten-bit HEIF files with a PQ color space for HDR images and adaptive HDR files for compatibility.

For more detailed information, you can refer to the specific chapters in the session:

These chapters provide a comprehensive guide to implementing HDR image experiences in your app using Core Image.