Hi, Probably the memory block contains some extra bytes at the beginning. You could save the memory block to a file and then see if the OS recognises the file as an ICC profile.
Regards Marti Original Message: ----------------- From: Joel Bierling ema...@bierling.net Date: Sat, 23 Jul 2011 22:53:24 -0400 To: lcms-user@lists.sourceforge.net Subject: [Lcms-user] Photoshop, cmsOpenProfileFromMem,iCCprofileData = failed cmsMagicNumber Calling cmsOpenProfileFromMem using filterRecord->iCCprofileData from a Photoshop CS5 filter plugin fails reading the header with a "bad" cmsMagicNumber. Any ideas? -Joel ---------------------------------------------------------------------------- -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user -------------------------------------------------------------------- mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user