“Display P3” screenshots from iOS Simulator

我只是一个虾纸丫 提交于 2019-12-10 21:25:30

问题


Is there a way to get "Display P3" screenshots from the simulator? The difference in the greens is terrible! But having to do 55 screenshots from the device instead is much more work.

I'm on a MacBook Pro with Touch Bar that should technically be able to display P3 colors.


回答1:


No. Unfortunately, the QuartzCore software renderer only supports sRGB. There is no way to get extended range sRGB or P3 out of that render pipeline in the simulator.

Regarding the lack of color matching, the thing you mentioned in your radar but not here is that you'r eon Xcode 8.2. The correct colorspace should be getting propagated in Xcode 9. Please try out Xcode 9.2.




回答2:


It looks like the Simulator saves images with the "sRGB IEC61966-2.1" profile. When I assign the "Apple RGB" profile to it in Photoshop ("Edit" > "Assign Profile…"), the colors on the screen match the displayed simulator window and any screenshots created on the device (in this case an iPhone X).

Not sure what's wrong exactly but to me this looks like a bug (rdar://35994235).



来源:https://stackoverflow.com/questions/47721708/display-p3-screenshots-from-ios-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!