Richard, <div><br></div><div> I think the profile stuff happens in CUPS upstream from Gutenprint - this is a raster driver which doesn't know about colorspaces. So Gutenprint won't be reading profiles. Robert may have something different to say. </div>
<div><br></div><div> My belief, confirmed by today's phone conversations is that CUPS knows a lot about profiles though, and performs profile conversions on input data when asked nicely. </div><div><br></div><div> More pertinently , if Gutenprint writes XML (dumps its presets), it is probably being called to print a target which means that the image is DeviceRGB o DeviceCMYK -no input profilein sight and indeed none available yet. </div>
<div><br></div><div> Of course you could want Gutenprint to embed the written XML in some available profile, but that is a long time after the print has dried and been measured, so you have no reason to print again, so why ask Gutenprint? </div>
<div><br></div><div>Edmund</div><div><br><br><div class="gmail_quote">On Sat, Jan 28, 2012 at 10:04 PM, Richard Hughes <span dir="ltr"><<a href="mailto:hughsient@gmail.com">hughsient@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 28 January 2012 19:56, edmund ronald <<a href="mailto:edmundronald@gmail.com">edmundronald@gmail.com</a>> wrote:<br>
> So, my suggestion would be that you write the code to embed and to unembed<br>
> the XML in profiles, and you task us structure the XML itself in ways which<br>
> would help you, but let us momentarily define a way we can work now with<br>
> "naked" XML and no superstructure when no profiles are involved.<br>
<br>
</div>Sounds like a fair deal. Do you want a library to use, or just provide<br>
a couple of lcms2 example snippets that can be licenced as<br>
BSD/GPL/whatever for copy/pasting? Maybe a command line utility might<br>
be easier. The cd-fix-profile utility already allows you to add random<br>
metadata to profiles, although a simpler utility might be better. Let<br>
me know what you would prefer.<br>
<span class="HOEnZb"><font color="#888888"><br>
Richard.<br>
</font></span></blockquote></div><br></div>