[Mapserver-users] saveImage --> save in 4.0
Sean Gillies
sgillies at frii.com
Thu Aug 14 14:05:01 PDT 2003
Andrew,
Here's the issue: use
setOption('INTERLACE', 'ON')
'ON', not MS_ON. It's a bit awkward, but that's the way it is.
cheers,
Sean
On Thursday, August 14, 2003, at 02:22 PM, Simpson, Andrew wrote:
>
> Thanks for yet another response.
> You guys are doing a great job with Mapserver.
> Its been an outstanding collection of software and am looking forward
> to
> digging in to all the new functionality.
> Just wanted to give you guys a 'that a boy', since usually all you
> probably
> hear is gripes.
>
> Now on to my griping, here is one of my attempts:
>
> my $formatobj = new mapscript::outputFormatObj('png');
> $formatobj->{transparent} = $mapscript::MS_ON;
> $formatobj->setOption('interlace', $mapscript::MS_ON);
>
> And to assign the object I tried
>
> $map->{outputformat} = $formatobj;
>
> and
>
> $map->setOutputFormat( $formatobj );
>
> Thanks again,
> Drew.
More information about the MapServer-users
mailing list