jpeg quality

Kristjan Annus kristjan at TARKVARASTUUDIO.EE
Wed May 4 06:10:20 EDT 2005


Are you using raster or vector input data?
If you are using raster maps to generate your jpg output, then the
problem might be in
the poor resizing quality. I have created one application in wich the
raster files were drawn
in there own native scale and then rescaled with PHP and then re-readed
back to the Mapserver
to add some more data from vector layers. The output quality was much
better then.

Kristjan

>>>>Roberto Stecco <roberto.stecco at EMAIL.IT> 05/04/05 09:08am >>>
>>>>
>>>>
>hi list,
>I need to use jpeg format images for the output in my map. But the
>quality of the image is very bad.
>Can anybody give me any advice to improve it? this is a piece of my
>mapfile...
>
>
>        ...
>
>        OUTPUTFORMAT
>                NAME             jpeg
>                DRIVER             "GD/JPEG"
>                MIMETYPE         "image/jpeg"
>            #    IMAGEMODE         RGB
>                IMAGEMODE         RGBA
>                EXTENSION         "jpeg"
>                FORMATOPTION     "QUALITY = 100"
>        END
>
>        ...
>
>thanks in advance
>
>roberto
>
>



More information about the mapserver-users mailing list