FF 3.5, PNG and color profiles
Good evening, dear Habralyudi!
This is my first post on the hub, so please hurt not to kick.
I know that Habrahabr is not a bug tracker, but when I googled I didn’t find any mention of a similar problem, so I decided to ask the Habrasociety a question. Perhaps someone else will come in handy.
It so happened that under Windows I always used the latest nightly-builds of firefox (3.1 / 3.5, 3.2 / 3.6). And he was pleased. Today I use Linux ( Ubuntu 9.04 , then Linux Mint 7 - which, however, is the same thing). There are firefox and firefox-3.5 packages in the repository : the first is version 3.0.11, the second is one of the beta versions.
There are no flaws in 3.0, but in 3.5 release after release I have a very unpleasant bug with png images. :( Namely: the colors of some png files are distorted .
Here's what I get (on the left - as it should be, on the right - as it is): This bug is reproduced in all releases 3.5: both from the Ubunta repository and from the Mozilla website itself. Screenshot taken relevant at the time of writing the post version:
I appeal to all Habrauser, who can help, say what could be the problem, or at least where to dig. I’ll add the answer to the topic so that he can help my colleagues in misfortune.
Thanks in advance.
UPD: Solution found.
The thing is that in Firefox, starting with 3.1 / 3.5, color management is enabled for images with a built-in color profile.
And in Ubuntu these same profiles are missing by default.
There may be two solutions.
The first one is correct: install profiles.
Then in about: config
The second is wrong. Disable color correction:
In about: config You
must set the parameter
Thanks for the help to the coldFlame , konopkov and private_face habrayuzers .
UPD: transferred to Ubuntarium.
This is my first post on the hub, so please hurt not to kick.
It so happened that under Windows I always used the latest nightly-builds of firefox (3.1 / 3.5, 3.2 / 3.6). And he was pleased. Today I use Linux ( Ubuntu 9.04 , then Linux Mint 7 - which, however, is the same thing). There are firefox and firefox-3.5 packages in the repository : the first is version 3.0.11, the second is one of the beta versions.
There are no flaws in 3.0, but in 3.5 release after release I have a very unpleasant bug with png images. :( Namely: the colors of some png files are distorted .
Here's what I get (on the left - as it should be, on the right - as it is): This bug is reproduced in all releases 3.5: both from the Ubunta repository and from the Mozilla website itself. Screenshot taken relevant at the time of writing the post version:
Mozilla / 5.0 (X11; U; Linux i686; ru; rv: 1.9.1) Gecko / 20090615 Firefox / 3.5
UPD: Solution found.
The thing is that in Firefox, starting with 3.1 / 3.5, color management is enabled for images with a built-in color profile.
And in Ubuntu these same profiles are missing by default.
There may be two solutions.
The first one is correct: install profiles.
sudo apt-get install icc-profiles
Then in about: config
gfx.color_management.mode = 2
gfx.color_management.display_profile = /usr/share/color/icc/sRGB.icm
The second is wrong. Disable color correction:
In about: config You
must set the parameter
gfx.color_management.mode = 0
Thanks for the help to the coldFlame , konopkov and private_face habrayuzers .
UPD: transferred to Ubuntarium.