[mapserver-users] change image size for REAL

Scott D Cogan cogansco at msu.edu
Tue Apr 2 13:06:18 EST 2002


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