[mapserver-users] 3.6 perl mapscript saveImage function
Lowell Filak
lfilak at medinaco.org
Mon Aug 5 05:58:56 PDT 2002
You may need to use $mapscript::MS_PNG instead of "png".
I can verify that msSaveImage does work in 3.6.1.
HTH
Lowell F.
The following message was sent by Chris Stuber <imap at chesapeake.net> on Sat, 3 Aug 2002 13:37:16 -0400 (EDT).
>
>
> Guys, I am having a hard time getting 3.6 perl mapscript saveImage
> to work for me...
>
> In version 3.5 this worked
>
> #mapscript::msSaveImage($img,undef,"png",$map->{transparent},$map->{interlace},u
> ndef);
>
> but in 3.6, it errors... and from the new docs,
> I see the ImageObj saveImage method
>
> $img->saveImage(undef,"png",$map->{transparent},$map->{interlace},undef);
>
> but when I try that... I get no image/error.
> Does anyone have this working??
>
> Regards,
>
> Chris Stuber
More information about the MapServer-users
mailing list