fix png's with icc profile oddness
authorDoug Newgard <scimmia22@outlook.com>
Sat, 22 Jun 2013 04:21:35 +0000 (13:21 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 22 Jun 2013 04:21:35 +0000 (13:21 +0900)
I'm sure some of you have seen the warnings generated by libpng 1.6:
"known incorrect sRGB profile". Now, this is no big deal, it's just a
warning, but I still wanted to look into it further. By my count,
there are 800 png files in Enlightenment, of which only 6 have
embedded iCC profiles, all from HP. The rest are sRGB colorspace, but
do not include a profile. There are some good arguments for this
(http://imageoptim.com/color-profiles.html http://www.gballard.net/psd/save_for_web_embed_ICC_profile.html)
and since this seems to be the default, I've attached the 6 files with
the profiles stripped out. As you can see, it doesn't change the image
or the colorspace, it just leaves the calibration up to the end user's
system.

I haven't been able to find just what's wrong with the HP iCC profile
being used that the authors of libpng don't like, but it makes sense
to standardize the way profiles are handled anyway. And it has the
nice side effect of silencing warnings, even if the Debian/Ubuntu
users aren't likely to see them for a couple of years.

I can just change the iCC profile instead if you would prefer. I've
seen multiple people recommend the Argyll sRGB profile, which is still
"sRGB IEC61966-2.1" and is public domain.

config/default/enlightenment-default.png
data/icons/web_browser.png
data/icons/xterm.png
data/themes/img/O/icon_favorites.png
data/themes/img/O/icon_performance.png
data/themes/img/O/randr_icon_on.png

index 9c08ee2..1f33694 100644 (file)
Binary files a/config/default/enlightenment-default.png and b/config/default/enlightenment-default.png differ
index 816b853..544dc24 100644 (file)
Binary files a/data/icons/web_browser.png and b/data/icons/web_browser.png differ
index fca757a..c299c7d 100644 (file)
Binary files a/data/icons/xterm.png and b/data/icons/xterm.png differ
index 208cc44..fad7df5 100644 (file)
Binary files a/data/themes/img/O/icon_favorites.png and b/data/themes/img/O/icon_favorites.png differ
index 6e54bc5..da327dd 100644 (file)
Binary files a/data/themes/img/O/icon_performance.png and b/data/themes/img/O/icon_performance.png differ
index 3859d42..d7324a6 100644 (file)
Binary files a/data/themes/img/O/randr_icon_on.png and b/data/themes/img/O/randr_icon_on.png differ