> If you want to get this information programmatically, you need to have
> knowledge on using the GDI and ICM libraries in Windows.

HDC screendc = GetDC(hwnd);  // or use NULL instead of hwnd if you don't 
care about multi monitor systems.
char profile_filename[MAX_PATH];
DWORD = _countof(profile_filename);
if (GetICMProfile(screendc,&profile,profile_filename))
{
    do something with profile_filename[]
}
ReleaseDC(hwnd,screendc);

Louis Solomon
www.SteelBytes.com

----- Original Message ----- 
From: "Hector J. Santos-Villalobos" <[EMAIL PROTECTED]>
To: "'Mitesh'" <[EMAIL PROTECTED]>; <lcms-user@lists.sourceforge.net>
Sent: Sunday, June 22, 2008 4:26 AM
Subject: Re: [Lcms-user] ICC profile location


> For windows vista the the icc profiles folder is at
> C:\Windows\System32\spool\drivers\color.
>
> To know what is the name of the icc profile associated to you monitor. 
> Right
> click over the desktop and select Personalize on Vista (Properties on 
> other
> Windows OS). Go to the Display settings. In the display settings go to the
> color management tab. The default ICC profile is the profile associated 
> with
> your monitor. This profile will be as the path specified above.
>
> If you want to get this information programmatically, you need to have
> knowledge on using the GDI and ICM libraries in Windows.
>
> Hope this helps,
> Hector
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mitesh
> Sent: Saturday, June 21, 2008 5:18 AM
> To: lcms-user@lists.sourceforge.net
> Subject: Re: [Lcms-user] ICC profile location
>
> Hello all,
>
> Sorry that this question is not related to "lcms" but I thought you guys 
> can
> help me out. I searched the net for more than 2 hours but couldn't find 
> the
> info I was looking for.
>
> How do I get the name of the ICC profile that my monitor uses? Also how do 
> I
> get the path to this ICC profile file?
>
> 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.
>
> Please help
>
> Thanks,
>
> Mitesh Raj Pandey
>
>
> -------------------------------------------------------------------------
> 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
>
>
> -------------------------------------------------------------------------
> 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 


-------------------------------------------------------------------------
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

Reply via email to