Hi, To read the header bypassing completly lcms parsing, you can just
cmsICCHeader h; fread(&h, sizeof(h), f); But please note most of the fields you get are useless or deprecated. >White point Don't use or change this field. ICC clearly states that only D50 is actually supported. >for N-Color profile, the list of the n used colors with names and values This is not on the header, this is a tag "cmsSigColorantTableOutTag" handled as a named color list. >if a profile has colorimetric or spectral data Spectral profiles don't (yet) exist. >the profile internal name Again, stored in tags. >Look up Table or Matrix shape Look at cmsIsMatrixShaper(), cmsIsCLUT() functions Regards Marti Original Message: ----------------- From: Rémi CERISE cerise....@gmail.com Date: Tue, 1 Mar 2011 12:16:40 +0100 To: lcms-user@lists.sourceforge.net Subject: [Lcms-user] Getting profile header information Does anyone know how to retrieve the following data from an ICC profile using LittleCMS ? _ CMM signature / platforms _ Profile creator _ White point _ Magic flag _ for N-Color profile, the list of the n used colors with names and values _ if a profile has colorimetric or spectral data _ the profile internal name _ Look up Table or Matrix shape One of my problems is I cannot figure how to retrieve cmsICCHeader from an opened ICC profile. Best regards, Remi -------------------------------------------------------------------- mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user