Colour Management Tests
Colour Management Tests
Write reftests to compare images. This includes dealing with things like Monitor Profiles, profiles in JPEG (i.e., JPEGs get changed based on colour profile info). See discussion of colour profiles in Firefox 3 here. It would be useful to be able to compare to PNGs with a reftest, perhaps creating an image diff tool, where pixels outside a floating point tolerance (> 0.n) would somehow be highlighted so you can see what is different. Done.
This will require some graphics and image knowledge (i.e., Photoshop, what colour is on a computer, etc).
Name(s) of people casually working on the project, or who have contributed significant help. Include links to personal pages within wiki
NOTE: only Project Leader(s) should add names here. You can’t add your own name to the Contributor list.
If anything is unclear feel free to edit the instructions or msg me on IRC or email me.
Have a build of firefox on the linux with
on the mozconfig
download the reftest
unzip it in your home folder.
run the reftest
~/pngsuite-colorprofiles$ ~/src/obj*/dist/bin/firefox --no-remote -reftest -P testfirefox1(replace with test Profile) ./failedPixelTestAdobe1998.list | grep REFTEST > failedPixeltestAdobe1998output(insert Linux OS).txt
open the failedPixelAdobe1998output*.txt
It should failed and it should have
the URI data of the tested pixels/images.
'fail line output'
Upload the text file on the zenit wiki
(failedPixeltestAdobe1998output(insert Linux OS).txt )
Please include your Processor/OS information.
Processor Speed and Brand...,
Version of Linux.
and add your name on the contributions.
Please post your test results here:
|Date||IRC Nick||Platform||Firefox Version||Processor||Result|
|19-Oct-2008||ezadkiel||Ubuntu Release 8.04(hardy) Kernel Linux 2.6.24-19-generic GNOME 2.22.3||Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081019 Minefield/3.1b2pre||Intel Core 2 CPU T7400 @ 2.16 GHz||it passed test-result|
0.1 Release Isolated Failed test. failedtests0.1
TechNote001: Reftest framework contains image rendering reftests in module/libpr0n/test/reftest inside the mozilla source.
about:config and set
‘0′ for no color management,
‘1′ for full color management, and
‘2′ (the default) for tagged(with ICC)-only correction
Technote003: What are ways to embed colour profiles into images? Photoshop does it. Preview in Mac OSX does it which means you can use Automator to apply profiles on multiple images
reftest can compare images now output is sRGB if the reftest fails
Technote007: Use URI scheme for reftest DATA URI Scheme Wiki
simple to complex > back to simple
- Sept 19/08
made some builds with --enabled-tests
learning how to make reftests.
reading over notes etc.
- Sept 20/08
made more updates to notes and project page.
- Sept 22/08
Got a response from an email...one step closer to putting these pieces together.
Got some Goals...and Focus.
- Sept 26/08
Been testing thing for the past few days...trying to get the tests right.
- Sept 28/08
I think I got the tests right. Profiles File:ICCProfiles28Sept08.zip
- Oct 3/08
Reading on colours LAB vs RGB vs CMYK
Has a conclusion on the ubuntu
Update the test updated tests
- Oct 11/08
spent time isolating 2 pixels that were failing on the reftests in Ubuntu tested to see if the suspected pixels were failing...yes they still fail.
simplified reftest to show failing pixel and reftest differences in GIMP
- Oct 12/08
filed a bug bug#459617
trying to narrow it down.
- Oct 19/08
how to test in different configurations.
- Nov 9/08
updating the test...it's too big