[mapserver-users] change image size for REAL
Lowell.Filak
lfilak at medinaco.org
Tue Apr 2 12:04:00 PST 2002
$map->{width} = 400;
$map->{height} = 400;
Should fix it.
Lowell F.
On Tue, 2 Apr 2002, Scott D Cogan wrote:
> i am trying to change the image size that gets drawn with mapscript using
> the $image=$map->draw() function.
>
> i change the dimensions before drawing each time:
> $map->width=400;
> $map->height=400;
>
> and i have changed the dimensions of the image in the HTML code.
> this works, but the problem is that it doesnt REALLY change the output size
> of the actual GIF image i am using. all that happens is that the 600x600
> image gets scaled down to whatever size i told it to. this is unacceptable
> because in scaling down, many border lines are lost and the image is
> confusing. any ideas?
> -scott
>
More information about the MapServer-users
mailing list