Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5f2203a

Browse files
author
havatv
committedDec 24, 2017
GD removed (#133) - updated outputformat
1 parent 96e9e8d commit 5f2203a

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed
 

‎en/mapfile/outputformat.txt

+15-11
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ with GDAL support, and the PDF and SVG depend on building with cairo support.
2626
EXTENSION "png"
2727
FORMATOPTION "GAMMA=0.75"
2828
END
29-
OUTPUTFORMAT
30-
NAME "gif"
31-
DRIVER GD/GIF
32-
MIMETYPE "image/gif"
33-
IMAGEMODE PC256
34-
EXTENSION "gif"
35-
END
3629
OUTPUTFORMAT
3730
NAME "png8"
3831
DRIVER AGG/PNG8
@@ -108,11 +101,10 @@ DRIVER [name]
108101
The name of the driver to use to generate this output format. Some driver
109102
names include the definition of the format if the driver supports multiple
110103
formats. For AGG, the possible driver names are "AGG/PNG" and "AGG/JPEG".
111-
For GD the possible driver names are "GD/Gif" and "GD/PNG".
112104
For output through OGR the OGR driver name is appended, such as
113105
"OGR/Mapinfo File". For output through GDAL the GDAL shortname for the
114-
format is appended, such as "GDAL/GTiff". Note that PNG, JPEG and GIF
115-
output can be generated with either GDAL or GD (GD is generally more
106+
format is appended, such as "GDAL/GTiff". Note that PNG and JPEG
107+
output can be generated with either GDAL or AGG (AGG is generally more
116108
efficient). TEMPLATE should be used for template based output. (mandatory).
117109
Other drivers: KML, KMZ and UTFGRID.
118110

@@ -257,9 +249,17 @@ FORMATOPTION [option]
257249
- GD/PNG: The "INTERLACE=[ON/OFF]" option may be used to turn
258250
interlacing on or off.
259251

252+
.. Warning::
253+
254+
GD support was removed in Mapserver 7.0.
255+
260256
- GD/GIF: The "INTERLACE=[ON/OFF]" option may be used to turn
261257
interlacing on or off.
262258

259+
.. Warning::
260+
261+
GD support was removed in Mapserver 7.0.
262+
263263
.. index::
264264
triple: OUTPUTFORMAT; FORMATOPTION; TILED
265265

@@ -329,7 +329,7 @@ FORMATOPTION [option]
329329
IMAGEMODE [PC256|RGB|RGBA|INT16|FLOAT32|FEATURE]
330330
Selects the imaging mode in which the output is generated. Does matter
331331
for non-raster formats like Flash. Not all formats support all
332-
combinations. For instance GD supports only PC256. (optional)
332+
combinations. (optional)
333333

334334
.. index::
335335
triple: OUTPUTFORMAT; IMAGEMODE; PC256
@@ -338,6 +338,10 @@ IMAGEMODE [PC256|RGB|RGBA|INT16|FLOAT32|FEATURE]
338338
the palette (legacy MapServer mode). Only supported for GD/GIF
339339
and GD/PNG.
340340

341+
.. Warning::
342+
343+
GD support was removed in Mapserver 7.0.
344+
341345
.. index::
342346
triple: OUTPUTFORMAT; IMAGEMODE; RGB
343347

0 commit comments

Comments
 (0)
Please sign in to comment.