[mapserver-users] GIF question

Stephen Lime steve.lime at dnr.state.mn.us
Fri Jul 6 11:16:24 EDT 2001


It's built on GD, so whatever version of GD you use limits your output. MapServer is
bound by the 8-bit limitations of GD 1.x not GIF. Version 3.4 allows you to use GD
versions 1.2 through 1.8.x, but not the patched version of GD that allows GIF. With
versions of GD that support multiple file formats there is a map level parameter 
IMAGETYPE that allows you to choose. 3.5 supports GD 1.3 to 1.8 including patched
versions so with a fully decked out version you can output GIF/PNG/JPEG/WBMP.

MapServer will support GD 2.x once it has stabilized a bit and 3.5 has been released.

GD 1.2 is only used in the compile process as a last resort. There is a --with-gd configure
option to change what version you're using.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> David Graham <dgraham at i3.com> 07/06/01 09:23AM >>>
I am a new user who just built my mapserver yesturday.  I can't get the 
demo working because my latest GD does not support GIF

It appears that Mapserver is built on GIF technology.  What is the plan 
for Mapserver going forward?  And those of you who are using it for 
serving on the web, how did you go about getting your Unisys Licenses?

Is the only way I can build mapserv is to compile the gd1.2 that came 
with it and then hack the makefile to force it to look in the local 
directory for the object files?

If someone who has delt with this problem could drop a line with some 
procedures they used I would apreciated it.

Dave Graham
information integration and imaging, LLC
http://www.i3.com 





More information about the mapserver-users mailing list