From: <ma...@li...> - 2001-05-03 08:51:00
|
Hi, > Is there a way to determine a list of profiles available? so that I can then > determine which of those would be most appropriate? Well, this is hardly OS-dependent. Since I guess you are using Windows, I must tell Widows is a mess when doing so. Profiles are in a directory, but this directory does vary on depending on wich version of Windows you are using. Win95 & 98 -> windows\system\color W2K -> winnt\system32\spool\drivers\color ME -> windows\system32\spool\drivers\color NT 4 -> There is no color dir, since NT4 doesn't support profiles There is a API function called "GetColorDirectory" that returns such location, but this function is not available on NT4 & Win95. Of course you can ignore the whole thing and use your own directory for storing your profiles. I am using this latter. About how to select appropiate profiles, there is a complex example of User Interface (the one the demo is using) in file lcmui.c, in src\ui dir of distribution package. I didn't document this since is windows specific, but I guess it can be handful to you. Regards, Martí Maria The little cms project http://www.littlecms.com ma...@li... |