|
From: Guy K. K. <g....@ma...> - 2009-04-13 04:12:34
|
According to the documentation _cmsSaveProfile() is deprecated and supposed to be superseded by cmsOpenProfileFromFile() with a "w" as access mode instead. So, how would one then write a brand new profile to disk that has been created in memory? As cmsOpenProfileFromFile() returns a handle to an opened profile, that seems like it creates a big problem for writing new profiles. And do I guess correctly, that when opening a profile with writing capability, making modifications, and then closing it, that the modified profile will be written back to disk to the same/original file? A bit confused in trying to clean up deprecated functions, Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |