Res: Re: [UMN_MAPSERVER-USERS] PC256 color images (I need more quality)

Pericles S. Nacionales nacional at CBS.UMN.EDU
Mon Jul 11 15:28:42 PDT 2005


I guess I still don't know what your problem is.  If you're talking about 
quality in the sense of having compression artifacts, then you can add 
something like FORMATOPTION "QUALITY=100" in your OUTPUTFORMAT.  Or perhaps 
you should be using PNG24 instead of JPEG.   Read through 
http://mapserver.gis.umn.edu/doc/mapfile-reference.html#outputformat for more 
output related info.  

Also read  http://mapserver.gis.umn.edu/doc/raster-howto.html for raster input 
stuff.

-Perry


On Monday 11 July 2005 13:36, Ezequias Rodrigues da Rocha wrote:
> I commented the lines and the image got worst.
>
> And now ?
>
> -------Mensagem original-------
>
> De: Pericles S. Nacionales
> Data: 07/08/05 16:59:20
> Para: MAPSERVER-USERS at LISTS.UMN.EDU
> Assunto: Re: [UMN_MAPSERVER-USERS] PC256 color images (I need more quality)
>
> Ah, I should have looked further down on your message.  Comment out the
> PROCESSING parameters and see what happens.
>
> -Perry
>
> On Friday 08 July 2005 15:07, Ezequias Rodrigues da Rocha wrote:
> > 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
>
> --
> Pericles S. Nacionales
>
> Conservation Biology Program
> University of Minnesota
> 1530 Cleveland Ave. N., 115GrnH
> St. Paul, MN 55108

-- 
Pericles S. Nacionales

Conservation Biology Program
University of Minnesota
1530 Cleveland Ave. N., 115GrnH
St. Paul, MN 55108



More information about the MapServer-users mailing list