Hi :) Mitesh wrote:
> For the latter I think the ICC profiles are kept insinde > WINDOWS/System32/../../ but for me the important thing is knowing the name > of the ICC profile to which my monitor is associated with. Here's what I do in PhotoPrint's Profile Manager on Win32. This doesn't handle multiple-monitors though - how that should be handled I don't know. char displayprofilename[MAX_PATH]; HDC handle=GetDC(0); // Get the default screen handle DWORD dpsize=sizeof(displayprofilename)-1; if(GetICMProfile(handle,&dpsize,displayprofilename)) { cerr << "Got profile: " << displayprofilename << ", " << dpsize << " bytes." << endl; } else cerr << "No profile associated with default display." << endl; Hope this helps, -- Alastair M. Robinson ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user