Hi Michel, I've been using following to check for acsp header
fseek(fp, 36L, SEEK_SET); bytesRead = fread(cTmp, 1, 4, fp); if(strcmp(cTmp,"acsp")) { message("acsp header not found: %s\n",cTmp); return -1; } where fp is the icc file. Hope this helps. -j.heesoo On 12/13/05, michael Dorrian <[EMAIL PROTECTED]> wrote: > I want a check to see if my icc profile is correct. Where can i find > information about the correct format of an icm file. I am embedding it in > jpeg and tiff files by the way. > > ________________________________ > Yahoo! Shopping > Find Great Deals on Holiday Gifts at Yahoo! Shopping > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user