changeset 341:10a0bf9a47ab

Added OUTPUTFORMAT jpeg.
author Bjoern Schilberg <bjoern@intevation.de>
date Wed, 14 Nov 2012 13:07:40 +0100
parents dbfcb0b69a63
children dd90ea1d0d30
files mapserver/mapfile/mapfile_header.include mapserver/mapfile/mxd.map
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mapserver/mapfile/mapfile_header.include	Fri Nov 09 16:54:16 2012 +0100
+++ b/mapserver/mapfile/mapfile_header.include	Wed Nov 14 13:07:40 2012 +0100
@@ -76,3 +76,11 @@
 	EXTENSION "png"
 END
 
+OUTPUTFORMAT
+  NAME "jpeg"
+  DRIVER AGG/JPEG
+  MIMETYPE "image/jpeg"
+  IMAGEMODE RGB
+  EXTENSION "jpg"
+  FORMATOPTION "GAMMA=0.75"
+END
--- a/mapserver/mapfile/mxd.map	Fri Nov 09 16:54:16 2012 +0100
+++ b/mapserver/mapfile/mxd.map	Wed Nov 14 13:07:40 2012 +0100
@@ -50,7 +50,7 @@
     'ows_http_max_age'  '86400' # should 24h in seconds
     'ows_enable_request'       '*'
     'wms_feature_info_mime_type'    'text/html'
-    'wms_getmap_formatlist' 'image/png,image/png; mode=24bit'
+    'wms_getmap_formatlist' 'image/png,image/png; mode=24bit,image/jpeg'
     'wms_encoding' 'UTF-8'
     'wms_exceptions_format' 'XML'
   END
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)