Skip to content

Commit

Permalink
GD removed (#133) - updated outputformat
Browse files Browse the repository at this point in the history
  • Loading branch information
havatv committed Dec 24, 2017
1 parent 96e9e8d commit 5f2203a
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions en/mapfile/outputformat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ with GDAL support, and the PDF and SVG depend on building with cairo support.
EXTENSION "png"
FORMATOPTION "GAMMA=0.75"
END
OUTPUTFORMAT
NAME "gif"
DRIVER GD/GIF
MIMETYPE "image/gif"
IMAGEMODE PC256
EXTENSION "gif"
END
OUTPUTFORMAT
NAME "png8"
DRIVER AGG/PNG8
Expand Down Expand Up @@ -108,11 +101,10 @@ DRIVER [name]
The name of the driver to use to generate this output format. Some driver
names include the definition of the format if the driver supports multiple
formats. For AGG, the possible driver names are "AGG/PNG" and "AGG/JPEG".
For GD the possible driver names are "GD/Gif" and "GD/PNG".
For output through OGR the OGR driver name is appended, such as
"OGR/Mapinfo File". For output through GDAL the GDAL shortname for the
format is appended, such as "GDAL/GTiff". Note that PNG, JPEG and GIF
output can be generated with either GDAL or GD (GD is generally more
format is appended, such as "GDAL/GTiff". Note that PNG and JPEG
output can be generated with either GDAL or AGG (AGG is generally more
efficient). TEMPLATE should be used for template based output. (mandatory).
Other drivers: KML, KMZ and UTFGRID.

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

.. Warning::

GD support was removed in Mapserver 7.0.

- GD/GIF: The "INTERLACE=[ON/OFF]" option may be used to turn
interlacing on or off.

.. Warning::

GD support was removed in Mapserver 7.0.

.. index::
triple: OUTPUTFORMAT; FORMATOPTION; TILED

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

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

.. Warning::

GD support was removed in Mapserver 7.0.

.. index::
triple: OUTPUTFORMAT; IMAGEMODE; RGB

Expand Down

0 comments on commit 5f2203a

Please sign in to comment.