Low quality Jpg output

Frank Warmerdam fwarmerdam at GMAIL.COM
Sat Mar 19 10:24:52 PST 2005


On Sat, 19 Mar 2005 10:05:19 -0800, Jon Saints <saintsjd at yahoo.com> wrote:
> I have a large number of high color aerial photos in
> jpg format.  The images display correctly in using a
> tile index, but are of very low number of colors when
> rendered through mapserver.
>
> mapserv -v gives:
> MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG
> OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=FASTCGI
> INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Jon,

Likely what you want to do is select JPEG as the output format
instead of 8bit png or gif.  Likely you can just add the
IMAGETYPE JPEG declaration in your map section.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list