[MapServer-dev] Does mapserver support GIF format for WMS / WMTS services?

Philippe Ghesquiere philippe.ghesquiere at airbus.com
Fri Sep 8 05:16:47 PDT 2023

Hi all,
I am a little bit confused with GIF support for WMS/WMTS services.
In several parts of the documentation, it is mentioned that GIF support is
discarded with the end of the "GD library" support.

I noticed the compilation option in CMakelists.txt :
option(WITH_GIF "Enable GIF support (for PIXMAP loading)" ON)
I do not understand the "for PIXMAP loading" comment.

Anyway, our mapserver does not server WMS/WMTS tiles in GIF format.

So here are my few questions :

   - is GIF support enabled by default for WMS/WMTS services ?
   - do I need to add the option : -DWITH_GIF=ON for cmake configuration ?
   - do I need to add a specific mapserver configuration, like :
      NAME "GIF"
      MIMETYPE "image/GIF"
      EXTENSION "gif"

Thanks for your help and advices
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20230908/9e5bcb70/attachment.htm>

More information about the MapServer-dev mailing list