<!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.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU]<B>On Behalf Of </B>Peter
Kingsbury<BR><B>Sent:</B> Tuesday, November 29, 2005 4:01 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] Raster
Quality<BR><BR></FONT></DIV>
<DIV><BR>Hello all,<BR><BR>I'm having some problems with a DEM I'm putting up
on a site. I have a high-quality 32 bit TIFF, and a lower-quality 8-bit TIFF.
On the mapserver I'm displaying the site (using Chameleon), the application
renders the TIFF with a seemingly lower quality; some of the pixel precision
seems lost. It almost looks like Chameleon/MS4W is dithering the image down to
8 bits before sending the image to the browser.<BR><BR>I have the output
format set to PNG24, however, is there a specific way to prevent color
loss?<BR><BR>Best regards,<BR>- Peter<BR><SPAN class=276570216-29112005><FONT
face=Arial color=#0000ff size=2>[Norman Barker] </FONT></SPAN></DIV>
<DIV><SPAN class=276570216-29112005></SPAN> </DIV>
<DIV><SPAN class=276570216-29112005><FONT face=Arial color=#0000ff size=2>I
think you have to put </FONT></SPAN></DIV>
<DIV><SPAN class=276570216-29112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=276570216-29112005><FONT face=Arial color=#0000ff
size=2>PROCESSING "SCALE=AUTO" as a layer directive on your raster, for
example</FONT></SPAN></DIV>
<DIV><SPAN class=276570216-29112005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=276570216-29112005><FONT face=Arial color=#0000ff
size=2> LAYER<BR> NAME mydata<BR> TYPE
RASTER<BR> STATUS ON<BR> DATA
mydata_70462.tif<BR> METADATA<BR> "wms_title"
"mydata"<BR> "wms_srs"
"mydata"<BR> END<BR> PROJECTION<BR> "init=epsg:4326"<BR> END<BR>
PROCESSING "SCALE=AUTO"<BR> END</FONT></SPAN></DIV>
<DIV><SPAN class=276570216-29112005></SPAN> </DIV>
<DIV><SPAN class=276570216-29112005><FONT face=Arial color=#0000ff
size=2>Norman</FONT> </SPAN><BR><BR></DIV></BLOCKQUOTE></BODY></HTML>