A free color management engine in 100K.
General
Little cms intends to be a small-footprint, speed optimized color management engine in open source form. The homepage for the project is here:
http://www.littlecms.com. I needed to compile this for use with
Pixel32 and I use
Open Watcom. The obvious answer was to set up the build which I did. So, it builds but is not working with Pixel yet.
Building
The modified sources are here:
lcms-1.17.zip. Unarchive and change into lcms-1.17\projects\watcom then execute wmake which will display the build options. The valid targets are os2 or nt as either a release or debug version. An additional test executable will be compile to test the lib (testlib.exe) and dll (testdll.exe) files.
Test Results
Windows and OS/2-eCS test results (dll test followed by static lib test) and then a linux test:
D:\lcms-1.17\Projects\watcom>testdll
little cms testbed. Ver 1.17 [build Dec 13 2007 16:50:24]
Testing sRGB built-in space.........
dE: mean=0.0165645, SD=0.00939704, max=0.0519131 pass.
Using two real profiles.........pass
Error Induced by the CMM due to roundoff (dE) .........
dE: mean=0, SD=0, max=0 [765 tics, 0.765 sec.]
Testing preview.........
dE: mean=0.000432339, SD=0.00122284, max=0.00389105 [781 tics, 0.781 sec.]
Testing multiprofile transforms (6 profiles).........
dE: mean=0.123736, SD=0.17191, max=1.21645 [781 tics, 0.781 sec.]
Testing linearization devicelink.........
dE: mean=0.00395709, SD=0.00264811, max=0.0169607 [781 tics, 0.781 sec.]
Testing devicelink generation.........
dE: mean=0.00689046, SD=0.00519622, max=0.0350195 [782 tics, 0.782 sec.]
Testing saved linearization devicelink.........
dE: mean=0, SD=0, max=0 [328 tics, 0.328 sec.]
Testing ink limiting ................................ pass.
Testing save to memory: pass.
Testing Named color profiles: pass.
Testing CGATS parser: pass.
Success.
D:\lcms-1.17\Projects\watcom>testcms
little cms testbed. Ver 1.17 [build Dec 13 2007 16:50:29]
Testing fixed point: 2.884667 = 2.884672
Testing fixed scaling...pass.
Testing curves join ...pass.
Testing reversing of curves ... pass.
Testing linear interpolation ...pass. (1125 tics)
Testing descending tables (linear interpolation)...pass.
Testing reverse linear interpolation
on normal monotonic curve...pass.
on degenerated curve ...pass.
Testing 3D interpolation on LUT...pass.
Testing virtual profiles (Emulating sRGB)...pass.
Testing profile decoding (sRGB).....pass.
Testing sRGB built-in space.........
dE: mean=0.0165645, SD=0.00939704, max=0.0519131 pass.
Using two real profiles.........pass
Error Induced by the CMM due to roundoff (dE) .........
dE: mean=0, SD=0, max=0 [766 tics, 0.766 sec.]
Testing preview.........
dE: mean=0.000432339, SD=0.00122284, max=0.00389105 [766 tics, 0.766 sec.]
Testing multiprofile transforms (6 profiles).........
dE: mean=0.123732, SD=0.17191, max=1.21645 [750 tics, 0.75 sec.]
Testing linearization devicelink.........
dE: mean=0.00395709, SD=0.00264811, max=0.0169607 [734 tics, 0.734 sec.]
Testing devicelink generation.........
dE: mean=0.00689046, SD=0.00519622, max=0.0350195 [735 tics, 0.735 sec.]
Testing saved linearization devicelink.........
dE: mean=0, SD=0, max=0 [297 tics, 0.297 sec.]
Testing ink limiting ................................ pass.
Testing save to memory: pass.
Testing Named color profiles: pass.
Testing CGATS parser: pass.
Success.
OS/2-eCS
[e:\lcms-1.17\projects\watcom]testdll
little cms testbed. Ver 1.17 [build Dec 14 2007 07:03:28]
Testing sRGB built-in space.........
dE: mean=0.0165645, SD=0.00939704, max=0.0519131 pass.
Using two real profiles.........pass
Error Induced by the CMM due to roundoff (dE) .........
dE: mean=0, SD=0, max=0 [732 tics, 0.732 sec.]
Testing preview.........
dE: mean=0.000432339, SD=0.00122284, max=0.00389105 [756 tics, 0.756 sec.]
Testing multiprofile transforms (6 profiles).........
dE: mean=0.123736, SD=0.17191, max=1.21645 [807 tics, 0.807 sec.]
Testing linearization devicelink.........
dE: mean=0.00395709, SD=0.00264811, max=0.0169607 [785 tics, 0.785 sec.]
Testing devicelink generation.........
dE: mean=0.00689046, SD=0.00519622, max=0.0350195 [793 tics, 0.793 sec.]
Testing saved linearization devicelink.........
dE: mean=0, SD=0, max=0 [313 tics, 0.313 sec.]
Testing ink limiting ................................ pass.
Testing save to memory: pass.
Testing Named color profiles: pass.
Testing CGATS parser: pass.
Success.
little cms testbed. Ver 1.17 [build Dec 15 2007 15:27:17]
Testing fixed point: 2.884667 = 2.884672
Testing fixed scaling...pass.
Testing curves join ...pass.
Testing reversing of curves ... pass.
Testing linear interpolation ...pass. (864 tics)
Testing descending tables (linear interpolation)...pass.
Testing reverse linear interpolation
on normal monotonic curve...pass.
on degenerated curve ...pass.
Testing 3D interpolation on LUT...pass.
Testing virtual profiles (Emulating sRGB)...pass.
Testing profile decoding (sRGB).....pass.
Testing sRGB built-in space.........
dE: mean=0.0165645, SD=0.00939704, max=0.0519131 pass.
Using two real profiles.........pass
Error Induced by the CMM due to roundoff (dE) .........
dE: mean=0, SD=0, max=0 [367 tics, 0.367 sec.]
Testing preview.........
dE: mean=0.000432339, SD=0.00122284, max=0.00389105 [369 tics, 0.369 sec.]
Testing multiprofile transforms (6 profiles).........
dE: mean=0.123732, SD=0.17191, max=1.21645 [375 tics, 0.375 sec.]
Testing linearization devicelink.........
dE: mean=0.00395709, SD=0.00264811, max=0.0169607 [375 tics, 0.375 sec.]
Testing devicelink generation.........
dE: mean=0.00689046, SD=0.00519622, max=0.0350195 [393 tics, 0.393 sec.]
Testing saved linearization devicelink.........
dE: mean=0, SD=0, max=0 [96 tics, 0.096 sec.]
Testing ink limiting ................................ pass.
Testing save to memory: pass.
Testing Named color profiles: pass.
Testing CGATS parser: pass.
Success.
Linux (built with gcc):
little cms testbed. Ver 1.17 [build Dec 13 2007 17:54:37]
Testing fixed point: 2.884667 = 2.884672
Testing fixed scaling...pass.
Testing curves join ...pass.
Testing reversing of curves ... pass.
Testing linear interpolation ...pass. (110000 tics)
Testing descending tables (linear interpolation)...pass.
Testing reverse linear interpolation
on normal monotonic curve...pass.
on degenerated curve ...pass.
Testing 3D interpolation on LUT...pass.
Testing virtual profiles (Emulating sRGB)...pass.
Testing profile decoding (sRGB).....pass.
Testing sRGB built-in space.........
dE: mean=0.0165645, SD=0.00939704, max=0.0519131 pass.
Using two real profiles.........pass
Error Induced by the CMM due to roundoff (dE) .........
dE: mean=0.000545515, SD=0.00136301, max=0.0067395 [170000 tics, 0.17 sec.]
Testing preview.........
dE: mean=0.000545515, SD=0.00136301, max=0.0067395 [170000 tics, 0.17 sec.]
Testing multiprofile transforms (6 profiles).........
dE: mean=0.123784, SD=0.171842, max=1.21645 [170000 tics, 0.17 sec.]
Testing linearization devicelink.........
dE: mean=0.00405109, SD=0.00261746, max=0.0169607 [180000 tics, 0.18 sec.]
Testing devicelink generation.........
dE: mean=0.00689702, SD=0.00518751, max=0.0350195 [180000 tics, 0.18 sec.]
Testing saved linearization devicelink.........
dE: mean=0, SD=0, max=0 [100000 tics, 0.1 sec.]
Testing ink limiting ................................ pass.
Testing save to memory: pass.
Testing Named color profiles: pass.
Testing CGATS parser: pass.
Success.
There are no comments on this page. [Add comment]