Last post Sep 13, 2011 06:02 PM by desertfoxaz
Sep 13, 2011 03:07 PM|desertfoxaz|LINK
I have an application where I need to apply brightness, gamma, and contrast adjustment using a ColorMatrix on images. I'm developing on a Windows 7 machine and it works great. However, when I deploy to a Windows 2008 Server, Windows 2003 Server, or XP,
the resulting image is all messed up. Basically, adjusting the contrast is giving a psychadelic rainbow effect to parts of the image.
The code and the image I'm testing with is identical so this tells me that it's environmental.
Looking at the System.Drawing.dll, I see the following differences:
Windows 7: version 2.0.50727.5420 modified 11/4/2010
Server 2008: version 2.0.50727.4016 modified 3/29/2009
What changed in the DLL that would affect the resulting image? Can I deploy the DLL from Windows 7 to another environment, or is that dangerous?
Sep 13, 2011 06:02 PM|desertfoxaz|LINK
The color matrices were incorrect...the following article has the correct format