<br><font size=2 face="sans-serif">Please be aware that SampleICC already
includes an XML <=> ICC format capability.</font>
<br><font size=2 face="sans-serif">Any tags in an ICC profile can be edited
in an XML editor using that capability for pre- and post- conversion.</font>
<br><font size=2 face="sans-serif">This obtains the XML text editing experience
and at the same time retains the efficient storage format of the ICC profile.</font>
<br>
<br><font size=2 face="sans-serif">Best regards,<br>
Ann McCarthy<br>
Imaging Systems R&D<br>
Lexmark International, Inc.<br>
<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Alastair M. Robinson"
<blackfive@fakenhamweb.co.uk></b> </font>
<br><font size=1 face="sans-serif">Sent by: openicc-bounces+almccart=lexmark.com@lists.freedesktop.org</font>
<p><font size=1 face="sans-serif">01/20/2011 09:24 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">edmund ronald <edmundronald@gmail.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">OpenICC Liste <openicc@lists.freedesktop.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Openicc] meta data in test chart</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
On 21/01/11 01:07, edmund ronald wrote:<br>
<br>
> I think we need to choose between XML and JSON. Robert will have final<br>
> say, I guess, but we might as well have it out there.<br>
<br>
I'm with Graeme in thinking XML is a horrible format to edit by hand <br>
(because the tags and the <> delimiters all have the same visual
<br>
"weight" as the data within, so to my eyes it all just congeals
into a <br>
mass on screen.) However, despite my dislike of it, I think XML might
<br>
be the better fit in this case.<br>
<br>
What needs to be able to parse the serialised options, and what can just
<br>
treat it as a "blob"?<br>
<br>
* Gutenprint: Obviously needs to be able to both parse and write.<br>
<br>
* Oyranos, colord, etc.: Do they need to parse, or is a test for <br>
"equality" (for some yet-to-be-determined definition of "equality")
<br>
sufficient?<br>
<br>
* ArgyllCMS: I would think profiling tools in general would need no <br>
awareness of the contents and would treat the data as a blob to be <br>
embedded in the final profile?<br>
<br>
> One argument in favor of JSON is that we can expect to write GUI's
to<br>
> manipulate settings for the user so JSON is a good fit.<br>
<br>
From my experience using the Gutenprint options system from within <br>
PhotoPrint I'd say the options' limits and their interactions with each
<br>
other are *way* too complicated to be encoded within a serialised <br>
options file, so a GUI tool to edit such a set of options would probably
<br>
need to be linked with libgutenprint. Such a tool (at least a <br>
Gutenprint-specific tool) would be far better off deserialising an <br>
options file into a live stp_vars_t, editing that, then serialising it
<br>
again than attempting to parse a file itself and implementing its own <br>
internal model with option constraints. Gutenprint already has an
XML <br>
library, so I don't see much sense in making Gutenprint use a different
<br>
parsing library just for option serialisation.<br>
<br>
All the best<br>
--<br>
Alastair M. Robinson<br>
_______________________________________________<br>
openicc mailing list<br>
openicc@lists.freedesktop.org<br>
</font></tt><a href=http://lists.freedesktop.org/mailman/listinfo/openicc><tt><font size=2>http://lists.freedesktop.org/mailman/listinfo/openicc<br>
</font></tt></a>
<br>