iosxcode8gamut

Xcode & wide gamut images


Some related questions around Display P3 (wide gamut) image handing:

  1. Is there a file name convention for wide gamut images, like there was for retina (@2x, @3x)?
  2. Is there a way to add wide gamut versions to xcassets?
  3. If we have have sRGB MyPic.png in our Xcode project, how do we use UIImage to load a P3 version?

Or...

  1. Should we simply replace our sRGB images with Display P3 images, and let older sRGB-based devices do their best to display them?

Solution

  • The answers, from Apple, are here: https://developer.apple.com/videos/play/wwdc2016/712/ with PDF here: http://devstreaming.apple.com/videos/wwdc/2016/712ugi7vg8jznn3pc3u/712/712_working_with_wide_color.pdf

    Some notes:

    Photoshop:

    Xcode:

    Way more info in that WWDC session.

    Naming: