Raster Quality

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Nov 29 11:05:19 EST 2005


Check your chameleon.xml (chameleon\config\chameleon.xml):

    <context-param>
      <param-name>image_type</param-name>
      <param-value>PNG</param-value>
      <description>Output image type (eg: PNG, GIF). Must be uppercase. This image format MUST be supported by your browser and GD (on the server). Please don't change that value unless you know what you'r doing.</description>
    </context-param>    
 
Does this say PNG24 as well? Or have it refer to the NAME of the OUTPUTFORMAT object you want to use.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Peter Kingsbury <peter.kingsbury at GMAIL.COM> 11/29/2005 5:00:47 PM >>>
Hello all,

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.

I have the output format set to PNG24, however, is there a specific way to
prevent color loss?

Best regards,
- Peter



More information about the mapserver-users mailing list