<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Steve,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>I took your advise and re-installed every 
single DLL that is associated with mapserver (including all php extensions), and 
that&nbsp;seems to have done the trick.&nbsp;All my sites look normal again, as 
opposed to n</FONT><SPAN lang=EN-AU><FONT size=2>auseatingly </FONT></SPAN><FONT 
size=2>greenish. I am curious which dll was to blame, though. There must be one 
of the DLL's that are used to encode the jpg compression that is also used by 
another program, and got overwritten. </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for your help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Stephen 
Woodbridge [mailto:woodbri@swoodbridge.com] <BR>Sent: 25 January 2005 
13:00<BR>To: Jacob Delfos<BR>Cc: <A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A><BR>Subject: 
Re: [UMN_MAPSERVER-USERS] mapimages have different hue (off-colour)</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>Jacob,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Mapserver does not interact with any graphic board drivers. I does use 
<BR>dll's for the graphics libraries and it is possible that these might 
<BR>have been changed if you did a windows update or some such thing that 
<BR>replaced the graphics libraries.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If this is happening solely on this system, then I would suggest that 
<BR>you should re-install mapserver and its associated libraries. It is 
<BR>possible that a library got damaged or replaced. I would also check that 
<BR>you really are using the same mapfile on both systems, etc.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Beyond that, I'm not sure what else I would suggest.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Steve</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jacob Delfos wrote:<BR>&gt; By the way, I'm using php_mapscript42.dll in 
chameleon 1.0.4. But I have <BR>&gt; run this config for a year, and I never had 
this problem. I'm <BR>&gt; running gdal 1.2.5.<BR>&gt;&nbsp; <BR>&gt; <BR>&gt; 
-----Original Message-----<BR>&gt; From: UMN MapServer Users List 
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] On <BR>&gt; Behalf Of Jacob 
Delfos<BR>&gt; Sent: 25 January 2005 10:28<BR>&gt; To: <A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
&lt;<A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</A>&gt;<BR>&gt; 
Subject: Re: [UMN_MAPSERVER-USERS] mapimages have different hue 
(off-colour)<BR>&gt;&nbsp; <BR>&gt; <BR>&gt; Steve,<BR>&gt;&nbsp; <BR>&gt; I 
don't think this is related, because I'm not working in indexed colour.<BR>&gt; 
I did realise one thing I changed recently; I updated my graphics card <BR>&gt; 
drivers. I know that that SHOULD not have any effect on the physical <BR>&gt; 
image being generated, but.... it would explain why I saw this problem <BR>&gt; 
before with two machines where the only difference was that they had <BR>&gt; 
different hardware.<BR>&gt; Is there any connection between graphic card drivers 
and mapserver? As <BR>&gt; far as I know, the drivers shouldn't have anything to 
do with that. Just <BR>&gt; that I can't think of anything else.<BR>&gt;&nbsp; 
<BR>&gt; Tried viewing the mapimage in photoshop, but no difference. It seems 
<BR>&gt; like it uses a whole different library to compress to jpg. If I 
generate <BR>&gt; the same image from our production server, it creates a proper 
image. <BR>&gt; The good image is smaller in filesize than the bad image, but 
looks <BR>&gt; proper, and has a higher count of individual 
colours.<BR>&gt;&nbsp; <BR>&gt; <BR>&gt; Jacob<BR>&gt;&nbsp; <BR>&gt;&nbsp; 
<BR>&gt;&nbsp; <BR>&gt; <BR>&gt; -----Original Message-----<BR>&gt; From: 
Stephen Woodbridge [mailto:woodbri@swoodbridge.com]<BR>&gt; Sent: 24 January 
2005 22:47<BR>&gt; To: Jacob Delfos<BR>&gt; Cc: <A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
&lt;<A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</A>&gt;<BR>&gt; 
Subject: Re: [UMN_MAPSERVER-USERS] mapimages have different hue 
(off-colour)<BR>&gt;&nbsp; <BR>&gt; <BR>&gt; What version of mapserver are you 
running?<BR>&gt; Have you looked at this bug?<BR>&gt; <A 
href="http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=306">http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=306</A><BR>&gt; 
Have you tried viewing it on another system, or viewed it in another<BR>&gt; 
program like photoshop?<BR>&gt;&nbsp; <BR>&gt; -Steve W.<BR>&gt;&nbsp; <BR>&gt; 
Jacob Delfos wrote:<BR>&gt;&nbsp; &gt; Hi All,<BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; 
&gt; Got an interesting problem, which I hope someone recognises; My 
mapimage<BR>&gt;&nbsp; &gt; has changed hue in the last weeks. I am not sure 
what I changed to cause<BR>&gt;&nbsp; &gt; this. Perhaps an external program 
changed something about how my<BR>&gt;&nbsp; &gt; computer creates images. 
However, even if I restore the gdal12.dll file<BR>&gt;&nbsp; &gt; that I used 
previously (or any other of the many versions I have), my<BR>&gt;&nbsp; &gt; 
image is still off-colour. It is greenish/yellowish compared to 
the<BR>&gt;&nbsp; &gt; normal colour. It is still 24bit jpeg, though. But the 
mapimages from<BR>&gt;&nbsp; &gt; all php_mapscript based sites that I run from 
this machine have suddenly<BR>&gt;&nbsp; &gt; got this greenish 
tint.<BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; &gt; I suspect it may be something about 
the overal system, because I once<BR>&gt;&nbsp; &gt; noticed how different 
machines (a win2k desktop, and an XP laptop)<BR>&gt;&nbsp; &gt; generated 
slightly differently coloured mapimages (different hue,<BR>&gt;&nbsp; &gt; 
different saturation), even though both machines were installed with 
the<BR>&gt;&nbsp; &gt; exact same mapserver files. I tried running the site 
using a browser on<BR>&gt;&nbsp; &gt; the host and on a different machine, but 
both images look greenish.<BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; &gt; Does anyone 
know what could affect the hue of the mapimage? Something<BR>&gt;&nbsp; &gt; 
global?<BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; &gt; regards,<BR>&gt;&nbsp; &gt; 
<BR>&gt;&nbsp; &gt; Jacob<BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; 
&gt; JACOB DELFOS<BR>&gt;&nbsp; &gt; SPATIAL INFORMATION ANALYST<BR>&gt;&nbsp; 
&gt; Maunsell Australia Pty Ltd<BR>&gt;&nbsp; &gt; 629 Newcastle Street, WA 
6007<BR>&gt;&nbsp; &gt; PO Box 81, WA 6902<BR>&gt;&nbsp; &gt; 
Leederville<BR>&gt;&nbsp; &gt; Western Australia<BR>&gt;&nbsp; &gt; ABN 20 093 
846 925<BR>&gt;&nbsp; &gt; <BR>&gt;&nbsp; &gt; Tel&nbsp;&nbsp;&nbsp;&nbsp; + 61 
8 9281 6185<BR>&gt;&nbsp; &gt; Fax&nbsp;&nbsp;&nbsp; + 61 8 9281 
6297<BR>&gt;&nbsp; &gt; <A 
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A> &lt;<A 
href="mailto:jacob.delfos@maunsell.com">mailto:jacob.delfos@maunsell.com</A>&gt; 
<BR>&gt; &lt;<A 
href="mailto:jacob.delfos@maunsell.com">mailto:jacob.delfos@maunsell.com</A>&gt;<BR></FONT></DIV></BODY></HTML>