为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

ICC V4 and PNG Specification broken in Firefox

  • 5 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 RodentCheese

more options

So, first off, Firefox is my favorite browser. I love it a lot. I'm also a pretty big supporter of Free and Open-Source Software.

With that said, I was wondering when and if Firefox will fully support ICC V4 profiles and the PNG specification.

I noticed that ICC V4 is not enabled by default, but even after setting gfx.color_management.enablev4 to true and setting gfx.color_management.mode to 1, ICC V4 is still not working properly.

You can test this yourself here: https://littlecms.com/blog/2020/09/09/browser-check/

Also, I noticed that PNG images of large sizes won't display at all in Firefox, resulting in a broken image icon.

You can test this yourself here: https://www.jwz.org/blog/2018/07/png-antics/

These seem to work at least passably well in other browsers, but I don't want to use other browsers! Does anyone know if Mozilla will fix these sometime? I do know that Little CMS is open-source under the permissive MIT license, so maybe Firefox could use that to fix the ICC V4 problem, if that could help. I don't know if using the latest version of libpng will help the other problem, but I know it is under a rather permissive BSD-style license.

I'm using Firefox 90.0.2 in case anyone is wondering.

So, first off, Firefox is my favorite browser. I love it a lot. I'm also a pretty big supporter of Free and Open-Source Software. With that said, I was wondering when and if Firefox will fully support ICC V4 profiles and the PNG specification. I noticed that ICC V4 is not enabled by default, but even after setting '''gfx.color_management.enablev4''' to '''true''' and setting '''gfx.color_management.mode''' to '''1''', ICC V4 is still not working properly. You can test this yourself here: https://littlecms.com/blog/2020/09/09/browser-check/ Also, I noticed that PNG images of large sizes won't display at all in Firefox, resulting in a broken image icon. You can test this yourself here: https://www.jwz.org/blog/2018/07/png-antics/ These seem to work at least passably well in other browsers, but I don't want to use other browsers! Does anyone know if Mozilla will fix these sometime? I do know that Little CMS is open-source under the permissive MIT license, so maybe Firefox could use that to fix the ICC V4 problem, if that could help. I don't know if using the latest version of libpng will help the other problem, but I know it is under a rather permissive BSD-style license. I'm using Firefox 90.0.2 in case anyone is wondering.

由RodentCheese于修改

所有回复 (5)

more options

This is because Firefox does not actually support ICC v.4 although it does have a user preference to pretend that it is supported (so for example the adapted primaries and whitepoint are treated as unadapted).

See https://bugzilla.mozilla.org/show_bug.cgi?id=488800

more options

Are you possibly using a color profile for your monitor that is blocked on Mac by the sandbox?

  • bug 1524694 - [Mac] Fix gfx.color_management.display_profile for arbitrary profile paths [--]
more options

So, apparently qcms is the culprit behind why Firefox has an issue with ICC V4. Could Little CMS fix that? Also, I only have one color profile for my display, which is the one it came with. I never touched the color settings of the monitor.

Large PNG images are still not being rendered in any case.

more options

Is "large" means that width/height is bigger than 32000 px?

more options

Yep! The image I linked to is 111972 px wide. The image is supposed to be a debugging output histogram that shows where a certain program found silence in an MP3 file and removed them. The image is ludicrously huge because the MP3 was over 6 hours long. The image displays just fine in Opera, yet doesn't show up at all in Firefox.