<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Ross Burton</title><link>http://www.burtonini.com/blog</link><description>A potted account of Ross' life</description><language>en</language><ttl>60</ttl><dc:creator>Ross Burton</dc:creator><admin:generatorAgent rdf:resource="http://pyblosxom.sourceforge.net/"/><admin:errorReportsTo rdf:resource="mailto:ross@burtonini.com"/><item><title>Colour-Calibrated Eye Of Gnome</title><guid isPermaLink="false">computers/xicc/eog-icc-2005-06-16-09-57</guid><link>http://www.burtonini.com/blog/computers/xicc/eog-icc-2005-06-16-09-57</link><description>A few days of early-morning hacking later, and I've got a proof-of-concept ICC system working. It's very simple but works ...</description><content:encoded><![CDATA[    <p>
      A few days of early-morning hacking later, and I've got a proof-of-concept
      ICC system working.  It's very simple but works well for me.
    </p>
    <p>
      The first step is to associate an ICC profile to each screen.  This can be
      done using <tt>xicc</tt>, from <a
      href="http://www.burtonini.com/computing/xicc-0.1.tar.gz"><tt>xicc-0.1.tar.gz</tt></a>.
      Simply run this specifiying the path to the relevant ICC profile and it
      will set the atom on the root window of the default screen (multi-screen
      support will be implemented next).  For example:
    </p>
    <blockquote><pre>$ xicc ~/tmp/ICM/ibmtplcd.icm</pre></blockquote>
    <p>
      <tt>ibmtplcd.icm</tt> is the profile for the IBM ThinkPad LCDs.
    </p>
    <p>
      Then patch Eye Of Gnome with <a
      href="http://www.burtonini.com/computing/eog-cms-20050616.diff">this
        patch</a>.  Now when EoG opens a JPEG image which describes the colour space
      using the standard EXIF properties <tt>White Point</tt> and <tt>Primary
        Chromaticities</tt> it will create a profile on the fly, and when the
      image is displayed the profile for the screen is obtained and the image
      corrected.
    </p>
    <p>
      There is a lot to do yet:
    </p>
    <ul>
      <li>Read embedded ICC profiles from JPEG and PNG files</li>
      <li>Read the whitepoint/chromatic information from PNG files</li>
      <li>Cache the profile from the screen</li>
      <li>Make <tt>xicc</tt> multi-screen aware</li>
    </ul>
    <p>
      But it does work!  I'll write a small specification for the atom I'm using shortly.
    </p>
    
    <p>
      <small>NP: <cite>Mrs. Cruff</cite>, Mr. Scruff</small>
    </p>
]]></content:encoded><dc:date>2005-06-16T08:57:00Z</dc:date></item></channel></rss>