From: <Hie...@al...> - 2003-04-29 04:09:27
|
Hello Marti, I started to use your LCMS library to create a profile for my printer, the idea is to create a linear CMYK profile. But since I am a new user so I write a test program in DELPHI, to see how to use the function ADDLUTTAG, I opened a CMYK profile which was created by Photoshop, and read the A2B tags and B2A tags and then save them to a new profile. The program ended with error when tried to save the LUT tags to the new profile. Since I don't have the source code of LCMS.DLL in DELPHI so I can't trace what is the exact error. However I observe the following: 1. If I read and save only A2B LUT tags then the program is OK, and I notice that the size of LUT tags in the new profile is double to that in the profile created by photoshop. I guess in the LCMS library, it will convert from 8 bits to 16 bits before saving LUT to new profile, is this true? 2. Together with A2B LUT tags, I can save only 1 extra B2A LUT tag, any additional LUT tag will cause the program end with error, can you guess what is wrong here? I just wonder is there any function in your LCMS library that can create a linear CMYK profile? Sorry to ask you too much questions the first time, your LCMS is the only one the the internet that is open source and allow me to modify according to my need. Thank you very much for your time, Kind regards, Hien tran |