PC256 color images (I need more quality)

Ezequias Rodrigues da Rocha ezequias at RECIFE.PE.GOV.BR
Fri Jul 8 16:07:50 EDT 2005


Good afternoon (for some of you)
 
 
I am trying to make Mapserver render a 24bits but it only send to me a 256
colors image.
 
 
Here some of my Map file:
_____________________________________________________________________________
________________ 
fontset "/usr/java/jre1.5.0_01/lib/fonts/LucidaTypewriterRegular.ttf"
imagecolor 255 255 255
imagetype jpeg
shapepath "/var/www/cgi-bin/"
size 600 440
units meters
projection
"int=epsg:29185"
end



LAYER
NAME "Imagem56"
data "raster/recorte_56.tif"
STATUS off
TYPE RASTER
PROCESSING "DITHER=YES"
PROCESSING "BANDS=1,2,3"
PROCESSING "COLOR_MATCH_THRESHOLD=3"
END
OUTPUTFORMAT
NAME jpeg 
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
END
 
end # End Map


Best regards to all

Ezequias



More information about the mapserver-users mailing list