change output format of image object?
Daryl Herzmann
akrherz at IASTATE.EDU
Tue Jul 19 17:46:14 PDT 2005
On Tue, 19 Jul 2005, Nate Reed wrote:
> Is there a way to change my output format from PNG to GIF at runtime?
Hi Nate,
You will want to specify your possible output formats in your mapfile:
http://mapserver.gis.umn.edu/doc44/mapfile-reference.html#outputformat
If you are then using CGI mapserver, you will want to specify the output
format via the "format" CGI variable. If you are using mapscript, you
will use something like "selectOutputFormat"
HTH,
daryl
--
/**
* Daryl Herzmann (akrherz at iastate.edu)
* Program Assistant -- Iowa Environmental Mesonet
* http://mesonet.agron.iastate.edu
*/
More information about the MapServer-users
mailing list