configuring mapserver to output baseline jpeg

Kristjan Annus kristjan at TARKVARASTUUDIO.EE
Tue Apr 26 07:02:06 EDT 2005


Hi

I had the same problem about a month ago and was helped by another
Mapserver user Richard Duivanvoorde, I'll
send you the output of his mail:

OUTPUTFORMAT
NAME jpeg
MIMETYPE "image/jpeg"
DRIVER "GD/JPEG"
IMAGEMODE RGB
FORMATOPTION "QUALITY=80"
FORMATOPTION "INTERLACE=OFF"
END

(actually the line FORMATOPTION "INTERLACE=OFF")

makes mapserver producing non-progressive aka non interlaced output
which can be used in flash.

Kristjan

>Hi.
>
>I’m Stefano Parodi from Italy.
>I work for Datasiel S.p.a. and I develop WebGis applications for the
>Regional Government of “Regione Liguria” (http://www.regione.liguria.it).
>I’m currently developing a propotype application using MapServer with
>Macromedia Flash all based upon OGC standard (WMS/WFS).
>
>The first step should be to develop a simple WMS client but I'm having
>problems: actually Flash support only standard baseline JPEG while Mapserver
>output is progressive JPEG.
>
>I'm using the MS4W package from DM solution version 1.0.1
>
>How can I configure MapServer output to standard baseline JPEG?
>
>Thank you in advance
>
>Stefano
>
>



More information about the mapserver-users mailing list