Re: [Lcms-user] testcms fails with Error #12288; Bad file format
An ICC-based CMM for color management
Brought to you by:
mm2
From: <ma...@li...> - 2001-06-19 13:34:39
|
Humm... this message is shown when the file is located but not recognized as a valid icc profile. I'm puzzled because the chances of such error are very few, the error is raised on lcmsio1.c, function is ICCFileOpen() line 250. Then, this function reads header, and checks for magic number. If number is not proper, returns such error. Perhaps the best way would be to do a debug trace on this routine... or a couple of printf() to point the exact source of error. Martí. ----- Original Message ----- From: "Jonathan Wall" <JW...@mm...> To: "Mart¡ Maria" <ma...@li...> Cc: <lcm...@li...> Sent: Tuesday, June 19, 2001 9:07 AM Subject: RE: [Lcms-user] testcms fails with Error #12288; Bad file format Marti, Thanks for the quick reply but unfortunately it didn't solve the problem. I re-downloaded the .tar.gz file from the lcms website (filesize 242443 bytes) just in case. I believe Alphas are little endian but I tried with the big endian toggle anyway and it gave exactly the same error output. I also tried using the makefile instead of install.gcc, again with and without the big endian toggle, and I always get the same error message. Using the makefile means I compile with the bundled 'cc' compiler rather than gcc. I also tried 'USE_FLOAT' rather than 'USE_C' (leaving big endian NOT defined) without any success. Any further thoughts? Jonathan. |