I think when reading from the screen (eg GetPixel(screendc,x,y)) that you 
will always get values in the screen profile - which for unprofiled screens 
is sRGB.  using GetICMProfile(screendc) you can get the name of the current 
screen profile - watch out for multi screen systems :-)

Louis Solomon
www.SteelBytes.com


----- Original Message ----- 
From: "ZogZog" <[EMAIL PROTECTED]>
To: <lcms-user@lists.sourceforge.net>
Sent: Monday, February 04, 2008 1:17 AM
Subject: [Lcms-user] Colour management via screen sampling


Hello,

I'm completely new to colour management, but I've written a Visual basic 
application which reads pixels from the screen and converts and displays 
their values in different colour spaces.  However the big problem is that it 
does not use profiles and so is inaccurate.

Can somebody point me in the right direction as to what I should do when 
reading a pixel from a colour aware program, such as photoshop, before I 
apply my conversions.  Equally interesting would be what to do with a 
non-profile aware program, such as Internet Explorer.

Thank you
Chris


--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


--------------------------------------------------------------------------------


> _______________________________________________
> Lcms-user mailing list
> Lcms-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lcms-user
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to