[Mapserver-users] saveImage --> save in 4.0
Simpson, Andrew
Andrew.Simpson at ssc.nasa.gov
Tue Aug 12 12:25:09 PDT 2003
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C36107.71CAB522
Content-Type: text/plain;
charset="iso-8859-1"
Hello,
I've been upgrading perl mapscripts to 4.0 and found the wiki MigrationGuide
to be a little confusing.
After stumbling around in the code I found saveImage() is now save() and one
can use $map->setImageType('xxx') to change the image type.
How does one change the transparent and interlace options? I see a lot of
code dealing with outputFormat, but couldn't get any of the functions to
work.
Thanks,
Drew.
------_=_NextPart_001_01C36107.71CAB522
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial size=2>I've been upgrading
perl mapscripts to 4.0 and found the wiki MigrationGuide to be a little
confusing.</FONT></SPAN></DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial size=2>After stumbling
around in the code I found saveImage() is now save() and one can use
$map->setImageType('xxx') to change the image type.</FONT></SPAN></DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial size=2>How does one change
the transparent and interlace options? I see a lot of code dealing
with outputFormat, but couldn't get any of the functions to
work.</FONT></SPAN></DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=956561219-12082003><FONT face=Arial
size=2>Drew.</FONT></SPAN></DIV></BODY></HTML>
------_=_NextPart_001_01C36107.71CAB522--
More information about the MapServer-users
mailing list