changeset 343:9d6d3cca688c

Added OUTPUTFORMAT jpeg in example files.
author Bjoern Schilberg <bjoern@intevation.de>
date Wed, 14 Nov 2012 13:15:24 +0100
parents dd90ea1d0d30
children 2e170d69af30
files contrib/installer/example/example/mapfile_header.include contrib/installer/example/example/template.map
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/installer/example/example/mapfile_header.include	Wed Nov 14 13:10:55 2012 +0100
+++ b/contrib/installer/example/example/mapfile_header.include	Wed Nov 14 13:15:24 2012 +0100
@@ -71,3 +71,11 @@
 	EXTENSION "png"
 END
 
+OUTPUTFORMAT
+  NAME "jpeg"
+  DRIVER AGG/JPEG
+  MIMETYPE "image/jpeg"
+  IMAGEMODE RGB
+  EXTENSION "jpg"
+  FORMATOPTION "GAMMA=0.75"
+END
--- a/contrib/installer/example/example/template.map	Wed Nov 14 13:10:55 2012 +0100
+++ b/contrib/installer/example/example/template.map	Wed Nov 14 13:15:24 2012 +0100
@@ -49,7 +49,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' 'latin1'
     'wms_exceptions_format' 'XML'
   END
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)