[Mapserver-users] saveImage --> save in 4.0

Sean Gillies sgillies@frii.com
Thu, 14 Aug 2003 15:05:01 -0600


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.

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users