雪豹上的 NSImage 颜色偏移

发布于 2024-08-21 04:48:46 字数 358 浏览 5 评论 0原文

我的应用程序通过将各种其他 NSImage 组合在一起来创建 NSImage。原始图像是使用 [NSBitmapImageRep imageRepWithContentsOfFile:] 从文件加载的。最终图像随后显示在屏幕上。

一些 10.6 客户报告说,他们看到的图像(有时)颜色发生了变化。具体来说,所有明亮的颜色看起来都暗淡且褪色。蓝色似乎向紫色方向移动。

我知道这一定与 NSImage 或 NSBitmapImageRep 对色彩空间、伽玛或 ColorSync 的处理有关?我知道雪豹中有伽玛变化。

有谁知道我应该从哪里开始?很难排除故障,因为我无法重现问题,但我可以从客户的屏幕截图中看到颜色不正确。

有人以前见过这个吗?

My app creates NSImages by compositing various other NSImages together. The original images are loaded from files using [NSBitmapImageRep imageRepWithContentsOfFile:]. The final image is then displayed on the screen.

A few 10.6 customers have reported that the image they see (sometimes) has shifted colors. Specifically, all of the bright colors look dull and washed out. Blue seems to be shifted in the purple direction.

I know this must have something to do with NSImage or NSBitmapImageRep's handling of colorspaces, gamma, or ColorSync? I know there were gamma changes in Snow Leopard.

Does anyone know where I should start? It's hard to troubleshoot because I can't reproduce the problem, but I can see form the customers' screenshots that the colors aren't right.

Anyone seen this before?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

半窗疏影 2024-08-28 04:48:46

蓝色似乎向紫色方向移动。

这是 Snow Leopard 中的一个错误。在通用 RGB 中绘制的任何近似蓝色的内容都会被颜色校正为近似紫色。您甚至可以在菜单亮点中看到这一点。

http://boredzo.org/screenshots/SnowLeopard-PurpleIsTheNewBlue-MenuSelections.png http://boredzo.org/screenshots/SnowLeopard-PurpleIsTheNewBlue-MenuSelections.png http:/ /boredzo.org/screenshots/SnowLeopard-PurpleIsTheNewBlue-MenuSelections.png

(如果您不相信那是紫色,请使用 DigitalColor Meter。在渐变底部附近它是最紫色的。)

我提交了一份错误报告:x-雷达://问题/7542845。我提供了大量照片和视频证据,您可以在OpenRadar 副本中查看。我邀请您提交一份副本。

并不是每个人都会遇到这种情况;如果上面的图片适合您,请观看视频,其中有红色-视频转换中引入的偏移并显示了 DCM 中的差异。

Blue seems to be shifted in the purple direction.

This is a bug in Snow Leopard. Anything approximately blue drawn in Generic RGB gets color-incorrected to approximately purple. You can even see this in the menu highlights.

http://boredzo.org/screenshots/SnowLeopard-PurpleIsTheNewBlue-MenuSelections.png http://boredzo.org/screenshots/SnowLeopard-PurpleIsTheNewBlue-MenuSelections.png

(If you don't believe that that's purple, break out DigitalColor Meter. It's most purple near the bottom of the gradient.)

I filed a bug report: x-radar://problem/7542845. I included plenty of photographic and videographic evidence, which you can see in the OpenRadar copy. I invite you to file a duplicate.

It doesn't happen for everybody; if the above image looks fine for you, watch the video, which has the red-shift baked in from the video conversion and shows the difference in DCM.

爱人如己 2024-08-28 04:48:46

Snow Leopard 更改了默认伽玛:http://support.apple.com/kb/HT3712

Snow Leopard changed the default gamma: http://support.apple.com/kb/HT3712

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文