<div dir="ltr">No, strongly types means that the transform is not an opaque handler that operates on untyped buffers, but a C++function object.<div>So if the ICC profile is a XYZ -> RGB transform (from PCS2device) then the library build a function that accepts a struct xyz_t and yelds an rgb_t (or more precisely, a rgb_t<double>). In brief transforms have type.</div><div><br></div><div>Here:</div><div><br></div><div><a href="https://libiccpp.wordpress.com/2015/02/04/first-building-blocks-functions/">https://libiccpp.wordpress.com/2015/02/04/first-building-blocks-functions/</a><br></div><div><br></div><div>you get some more info about what I mean. The library defines a set of function between color spaces, then ICC profiles (or transforms generated from them) are instances of those functions.</div><div><br></div><div> Regards,</div><div> Marco</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 February 2015 at 10:55, Kai-Uwe Behrmann <span dir="ltr"><<a href="mailto:ku.b-list@gmx.de" target="_blank">ku.b-list@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 18.02.2015 um 21:22 schrieb Marco Oman:<br>
<span class="">> I am writing here to ask you to give a look at a library I developed<br>
> recently that aims at working with ICC profiles in a 'strongly typed' way.<br>
<br>
</span>Strongly typed as in the ICC hash ?<br>
<br>
(from ICC.1:2010)<br>
7.2.18Profile ID field (bytes 84 to 99)<br>
<br>
This field, if not zero (00h), shall hold the Profile ID. The Profile ID<br>
shall be calculated using the MD5 fingerprinting method as defined in<br>
Internet RFC 1321. The entire profile, whose length is given by the size<br>
field in the header, with the profile flags field (bytes 44 to 47, see<br>
7.2.11), rendering intent field (bytes 64 to 67, see 7.2.15), and<br>
profile ID field (bytes 84 to 99) in the profile header temporarily set<br>
to zeros (00h), shall be used to calculate the ID. A profile ID field<br>
value of zero (00h) shall indicate that a profile ID has not been<br>
calculated.<br>
<br>
It is suggested that profile creators compute and record a profile ID.<br>
<br>
kind regards<br>
Kai-Uwe<br>
<br>
_______________________________________________<br>
openicc mailing list<br>
<a href="mailto:openicc@lists.freedesktop.org">openicc@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/openicc" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openicc</a></blockquote></div><br></div>