In fact all i need to know is whether the header file is an icc header file or not. If the actual information is wrong then thats the fault of the icc file and my program does not have to deal with it. All i do is embed the information and thats it. Thanks Mr Lee you have answered my question fully....no need to do any more checks.
"J. Hee Soo Lee" <[EMAIL PROTECTED]> wrote:
"J. Hee Soo Lee" <[EMAIL PROTECTED]> wrote:
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
> inf ormation 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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com